weltling / parle

Parser and lexer for PHP
Other
87 stars 10 forks source link

fix consistency of return type in 7.0/7.1/7.2 #10

Closed remicollet closed 7 years ago

remicollet commented 7 years ago

Notice: I prefer PHP_VERSION_ID which seems more legible ;)

In PHP 7.0/7.1 reflection change:

-          - Return [ object ]
+          - Return [ Parle\Token ]

In PHP 7.2 reflection change:

-          - Return [ "Parle\\Token" ]
+          - Return [ Parle\Token ]
weltling commented 7 years ago

Merged, many thanks!