Skip to content

Commit 65a69f8

Browse files
authored
Remove redundant setAccessible methods (#5811)
1 parent 1acff11 commit 65a69f8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/Cases/AbstractTestCase.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ protected function invoke($class, string $method)
2929
{
3030
$ref = new ReflectionClass($class);
3131
$method = $ref->getMethod($method);
32-
$method->setAccessible(true);
3332
return $method->invoke($method);
3433
}
3534
}

0 commit comments

Comments
 (0)