Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
megasteve19 authored and github-actions[bot] committed Mar 5, 2023
1 parent bf713a5 commit 8010ae1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/EditorPhpTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@

test(
'Can register block',
function()
{
function() {
EditorPhp::register(['p' => Paragraph::class]);

expect(Parser::$blocks)->toHaveKey('p');
Expand Down Expand Up @@ -80,8 +79,7 @@ function()

test(
'Can add and use macro',
function($sample)
{
function($sample) {
EditorPhp::macro(
'getParagraphs',
fn () => $this->blocks->filter(fn (Block $block) => $block instanceof Paragraph)
Expand Down

0 comments on commit 8010ae1

Please sign in to comment.