Skip to content

Commit f868f94

Browse files
committed
⚡ Adjust unit test helpers for PHP 7.4
1 parent 9dbc972 commit f868f94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ public function getMethod(object $object, string $method): object
4040
return $method;
4141
}
4242

43-
public function getPropertyValue(object $object, string $property): mixed
43+
public function getPropertyValue(object $object, string $property)
4444
{
4545
$ref = new ReflectionProperty($object, $property);
4646
$ref->setAccessible(true);
4747

4848
return $ref->getValue($object);
4949
}
5050

51-
public function setPropertyValue(object $object, string $property, mixed $value): void
51+
public function setPropertyValue(object $object, string $property, $value): void
5252
{
5353
$ref = new ReflectionProperty($object, $property);
5454
$ref->setAccessible(true);

0 commit comments

Comments
 (0)