Convert some old array() calls to new [] syntax

This commit is contained in:
Christian Bläul
2024-08-29 17:06:16 +02:00
parent 259e9a6c31
commit 24e229ddfa
3 changed files with 8 additions and 11 deletions

View File

@@ -326,7 +326,7 @@ class ParseTest extends TestCase {
* @return mixed Method return.
*/
private function invokeMethod($object, $methodName, $parameters = []) {
$reflection = new ReflectionClass(get_class($object));
$reflection = new ReflectionClass($object::class);
$method = $reflection->getMethod($methodName);
$method->setAccessible(true);