X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fparser%2FparserTestsParserHook.php;h=5bf50ead6d628cc448c8e833af6db14f7eacb070;hb=6e9b4f0e9ce4ccd6089c18b205065ef7fa077484;hp=221fc79abaf57d8f3d6d3311c177ade17bceed6c;hpb=b7ec2c9b3353b99fe30e1e202c8625cac2f541f3;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/parser/parserTestsParserHook.php b/tests/parser/parserTestsParserHook.php index 221fc79aba..5bf50ead6d 100644 --- a/tests/parser/parserTestsParserHook.php +++ b/tests/parser/parserTestsParserHook.php @@ -28,9 +28,9 @@ class ParserTestParserHook { static function setup( &$parser ) { - $parser->setHook( 'tag', array( __CLASS__, 'dumpHook' ) ); - $parser->setHook( 'tåg', array( __CLASS__, 'dumpHook' ) ); - $parser->setHook( 'statictag', array( __CLASS__, 'staticTagHook' ) ); + $parser->setHook( 'tag', [ __CLASS__, 'dumpHook' ] ); + $parser->setHook( 'tåg', [ __CLASS__, 'dumpHook' ] ); + $parser->setHook( 'statictag', [ __CLASS__, 'staticTagHook' ] ); return true; }