We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dbc972 commit f868f94Copy full SHA for f868f94
tests/TestCase.php
@@ -40,15 +40,15 @@ public function getMethod(object $object, string $method): object
40
return $method;
41
}
42
43
- public function getPropertyValue(object $object, string $property): mixed
+ public function getPropertyValue(object $object, string $property)
44
{
45
$ref = new ReflectionProperty($object, $property);
46
$ref->setAccessible(true);
47
48
return $ref->getValue($object);
49
50
51
- public function setPropertyValue(object $object, string $property, mixed $value): void
+ public function setPropertyValue(object $object, string $property, $value): void
52
53
54
0 commit comments