Skip to content

Commit 0bc09dd

Browse files
jdforresterWMDE bot
authored andcommitted
tests: Remove usage of ReflectionMethod::setAccessible(), no-op
Bug: T406744 Change-Id: I2ef7ddc1794bee0fef4d4d4a08210ca23a51a6fd
1 parent 233372f commit 0bc09dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/unit/ByPropertyIdArrayTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ public function testArrayObjectNotConstructedFromObject() {
7171
protected static function getMethod( $methodName ) {
7272
$class = new ReflectionClass( ByPropertyIdArray::class );
7373
$method = $class->getMethod( $methodName );
74-
$method->setAccessible( true );
7574
return $method;
7675
}
7776

0 commit comments

Comments
 (0)