Skip to content

Commit

Permalink
Ops!
Browse files Browse the repository at this point in the history
  • Loading branch information
gjb2048 committed Apr 4, 2024
1 parent 5f4dcc1 commit 34eab35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/privacy_provider_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ protected static function set_property($obj, $name, $value): void {
* @param stdClass $obj The object.
* @param string $name Name of the method.
*/
protected static function get_property($obj, $name): \ReflectionClass {
protected static function get_property($obj, $name): \ReflectionProperty {
// Ref: http://stackoverflow.com/questions/18558183/phpunit-mockbuilder-set-mock-object-internal-property ish.
$class = new \ReflectionClass($obj);
$property = $class->getProperty($name);
Expand Down

0 comments on commit 34eab35

Please sign in to comment.