Skip to content

Commit 8ec0f29

Browse files
committed
Fix #4: class method call problems
1 parent 994dd48 commit 8ec0f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AutoDecoder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function __construct($ast)
5353

5454
public static function parseFile($code)
5555
{
56-
$parser = (new ParserFactory())->create(ParserFactory::PREFER_PHP7);
56+
$parser = (new ParserFactory())->create(ParserFactory::PREFER_PHP5);
5757
$ast = $parser->parse($code);
5858
return $ast;
5959
}

0 commit comments

Comments
 (0)