Skip to content

Commit

Permalink
Made property publicly accessible.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmorell committed Mar 1, 2024
1 parent 25f4ef6 commit 8e03ea4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/CurlSenderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ private static function getPrivateProperty(object $object, string $property): mi
{
$reflection = new ReflectionClass($object);
$property = $reflection->getProperty($property);
$property->setAccessible(true);
return $property->getValue($object);
}
}

0 comments on commit 8e03ea4

Please sign in to comment.