From 07a8d1dfcb20df8d1ba0f1a9acad4c2ed58d7ffa Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 19 Sep 2022 00:24:29 +0200 Subject: [PATCH] chg: [dead variable] removed --- src/Model/Behavior/AuthKeycloakBehavior.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Model/Behavior/AuthKeycloakBehavior.php b/src/Model/Behavior/AuthKeycloakBehavior.php index f5a0916..d9a7829 100644 --- a/src/Model/Behavior/AuthKeycloakBehavior.php +++ b/src/Model/Behavior/AuthKeycloakBehavior.php @@ -212,7 +212,6 @@ class AuthKeycloakBehavior extends Behavior { $keycloakRoles = $this->getAllRoles($clientId); $keycloakRolesParsed = Hash::extract($keycloakRoles, '{n}.name'); - $rolesToAdd = []; $scopeString = $scope . ':'; $modified = 0; foreach ($roles as $role) {