Skip to content

Commit 6cfed88

Browse files
committed
Don't use reflections when possible
1 parent 8817b96 commit 6cfed88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Tests/Normalizer/GetSetMethodNormalizerTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,11 @@ public function otherMethod()
298298
{
299299
throw new \RuntimeException('Dummy::otherMethod() should not be called');
300300
}
301+
302+
protected function getPrivate()
303+
{
304+
throw new \RuntimeException('Dummy::getPrivate() should not be called');
305+
}
301306
}
302307

303308
class GetConstructorDummy

0 commit comments

Comments
 (0)