Skip to content

Commit

Permalink
Avoid deprecation warning in PHP 8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Aug 23, 2023
1 parent 71abcf9 commit 267d4e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public static function updateStaticProperty($className, $propertyName, $value)
$reflProp->setAccessible(true);
}

$reflProp->setValue($value);
$reflProp->setValue(null, $value);

if ($isPublic !== true) {
$reflProp->setAccessible(false);
Expand Down

0 comments on commit 267d4e5

Please sign in to comment.