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