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.
1 parent 884594e commit 8bf18b0Copy full SHA for 8bf18b0
DataCollector/SecurityDataCollector.php
@@ -71,7 +71,7 @@ public function collect(Request $request, Response $response, \Exception $except
71
if (null !== $this->roleHierarchy) {
72
$allRoles = $this->roleHierarchy->getReachableRoles($assignedRoles);
73
foreach ($allRoles as $role) {
74
- if (!in_array($role, $assignedRoles)) {
+ if (!in_array($role, $assignedRoles, true)) {
75
$inheritedRoles[] = $role;
76
}
77
0 commit comments