Skip to content

Commit

Permalink
[BUGFIX] PHP 7.4 compatibility for test. TER-118 TER-120 (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmafeldt authored Jun 29, 2023
1 parent d287211 commit f23876c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Unit/Middleware/TokenRefreshMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public function invokeMethod(&$object, $methodName, array $parameters = [])
return $method->invokeArgs($object, $parameters);
}

public function setPrivateProperty(string $className, object $object, string $property, mixed $value)
public function setPrivateProperty(string $className, object $object, string $property, $value)
{
$reflectionProperty = new \ReflectionProperty($className, $property);
$reflectionProperty->setAccessible(true);
Expand Down

0 comments on commit f23876c

Please sign in to comment.