Verified Commit e83f6afd authored by dockx thibault's avatar dockx thibault
Browse files

:sparkles: Feat(Orchestrator) - phpcs

phpcs
2 merge requests!72Releasing Fusiondirectory Orchestrator 1.1,!61Resolve "[Orchestrator] - New endpoint for userReminder allowing to send notification to use with token to extend their account longevity"
Pipeline #30496 failed with stages
in 1 minute and 2 seconds
Showing with 1 addition and 2 deletions
+1 -2
...@@ -508,7 +508,6 @@ class Reminder implements EndpointInterface ...@@ -508,7 +508,6 @@ class Reminder implements EndpointInterface
*/ */
private function getMonitoredResources (array $remindersMainTask): array private function getMonitoredResources (array $remindersMainTask): array
{ {
$monitoredResourcesArray = [ $monitoredResourcesArray = [
'resource' => $remindersMainTask['fdtasksreminderresource'], 'resource' => $remindersMainTask['fdtasksreminderresource'],
'state' => $remindersMainTask['fdtasksreminderstate'], 'state' => $remindersMainTask['fdtasksreminderstate'],
...@@ -556,7 +555,7 @@ class Reminder implements EndpointInterface ...@@ -556,7 +555,7 @@ class Reminder implements EndpointInterface
if (!empty($dnSupann['supannressourceetat'])) { if (!empty($dnSupann['supannressourceetat'])) {
// Simply iterate within the resource available till a match is found. // Simply iterate within the resource available till a match is found.
foreach($dnSupann['supannressourceetat'] as $resource) { foreach ($dnSupann['supannressourceetat'] as $resource) {
if ($monitoredSupannState === $resource) { if ($monitoredSupannState === $resource) {
$result = TRUE; $result = TRUE;
break; break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment