We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4e154e9 + 0287287 commit 64a582eCopy full SHA for 64a582e
Authorization/TraceableAccessDecisionManager.php
@@ -38,11 +38,11 @@ public function __construct(AccessDecisionManagerInterface $manager)
38
39
// The strategy and voters are stored in a private properties of the decorated service
40
if (property_exists($manager, 'strategy')) {
41
- $reflection = new \ReflectionProperty(\get_class($manager), 'strategy');
+ $reflection = new \ReflectionProperty($manager::class, 'strategy');
42
$this->strategy = $reflection->getValue($manager);
43
}
44
if (property_exists($manager, 'voters')) {
45
- $reflection = new \ReflectionProperty(\get_class($manager), 'voters');
+ $reflection = new \ReflectionProperty($manager::class, 'voters');
46
$this->voters = $reflection->getValue($manager);
47
48
0 commit comments