diff --git a/tests/parsers/ShortcodeParserTest.php b/tests/parsers/ShortcodeParserTest.php index 85dcaa3b4..112b1efab 100644 --- a/tests/parsers/ShortcodeParserTest.php +++ b/tests/parsers/ShortcodeParserTest.php @@ -242,7 +242,7 @@ class ShortcodeParserTest extends SapphireTest { $this->parser->parse('') ); - $this->parser->register('2', function($attributes, $content, $this, $tag, $extra) { + $this->parser->register('2', function() { return 'this is 2'; });