Skip to content

Commit

Permalink
PHPUnit test was not compatible with PHP ^7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gogowitsch committed Aug 29, 2024
1 parent f9b08cb commit ff0e0c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/methods/ParseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function testAutoQuotes($file, $enclosure) {
* @return mixed Method return.
*/
private function invokeMethod($object, $methodName, $parameters = []) {
$reflection = new ReflectionClass($object::class);
$reflection = new ReflectionClass(get_class($object));
$method = $reflection->getMethod($methodName);
$method->setAccessible(true);

Expand Down

0 comments on commit ff0e0c7

Please sign in to comment.