Loading module/Structure/src/Structure/Service/Structure/StructureService.php +0 −2 Original line number Diff line number Diff line Loading @@ -400,7 +400,6 @@ EOS; */ public function isResponsableS(array $structures, ?Agent $agent) : bool { $structures = array_filter($structures, function ($s) { return $s !== null;}); foreach ($structures as $structure) { $result = $this->isResponsable($structure, $agent); if ($result) return true; Loading Loading @@ -435,7 +434,6 @@ EOS; */ public function isAutoriteS(array $structures, ?Agent $agent) : bool { $structures = array_filter($structures, function ($s) { return $s !== null;}); foreach ($structures as $structure) { $result = $this->isAutorite($structure, $agent); if ($result) return true; Loading Loading
module/Structure/src/Structure/Service/Structure/StructureService.php +0 −2 Original line number Diff line number Diff line Loading @@ -400,7 +400,6 @@ EOS; */ public function isResponsableS(array $structures, ?Agent $agent) : bool { $structures = array_filter($structures, function ($s) { return $s !== null;}); foreach ($structures as $structure) { $result = $this->isResponsable($structure, $agent); if ($result) return true; Loading Loading @@ -435,7 +434,6 @@ EOS; */ public function isAutoriteS(array $structures, ?Agent $agent) : bool { $structures = array_filter($structures, function ($s) { return $s !== null;}); foreach ($structures as $structure) { $result = $this->isAutorite($structure, $agent); if ($result) return true; Loading