Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 23, 2022
1 parent 8e12ff7 commit 3c7bb98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Util/Reflection/PrivatesAccessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public function callPrivateMethod(object|string $object, string $methodName, arr
$object = $reflectionClass->newInstanceWithoutConstructor();
}

$methodReflection = $this->createAccessibleMethodReflection($object, $methodName);
$reflectionMethod = $this->createAccessibleMethodReflection($object, $methodName);

return $methodReflection->invokeArgs($object, $arguments);
return $reflectionMethod->invokeArgs($object, $arguments);
}

/**
Expand Down

0 comments on commit 3c7bb98

Please sign in to comment.