Skip to content

Commit

Permalink
Remove object typehint for php 7.1
Browse files Browse the repository at this point in the history
Signed-off-by: William Desportes <williamdes@wdes.fr>
  • Loading branch information
williamdes committed May 21, 2020
1 parent 7e81b0b commit e964206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/classes/AbstractTestCase.php
Expand Up @@ -193,7 +193,7 @@ protected function tearDown(): void
*
* @return mixed the output from the protected method.
*/
protected function callFunction(?object $object, string $className, string $methodName, array $params)
protected function callFunction($object, string $className, string $methodName, array $params)
{
$class = new ReflectionClass($className);
$method = $class->getMethod($methodName);
Expand Down

0 comments on commit e964206

Please sign in to comment.