mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-09 16:53:11 +08:00
Remove all calls to ReflectionProperty::setAccessible
This commit is contained in:
@@ -27,7 +27,6 @@ class EmptyResponseImplicitOptionsMiddlewareFactoryTest extends TestCase
|
||||
|
||||
$ref = new ReflectionObject($instance);
|
||||
$prop = $ref->getProperty('responseFactory');
|
||||
$prop->setAccessible(true);
|
||||
|
||||
/** @var ResponseFactoryInterface $value */
|
||||
$value = $prop->getValue($instance);
|
||||
|
||||
Reference in New Issue
Block a user