Fix invalid closure param in ShortcodeParserTest

This commit is contained in:
Loz Calver 2017-04-03 22:33:38 +01:00 committed by Sam Minnee
parent 05a737c5fc
commit 454646c4df

View File

@ -252,7 +252,7 @@ class ShortcodeParserTest extends SapphireTest {
$this->parser->parse('<script>[2]</script>')
);
$this->parser->register('2', function($attributes, $content, $this, $tag, $extra) {
$this->parser->register('2', function($attributes, $content, $parser, $tag, $extra) {
return 'this is 2';
});