Loading module/Structure/src/Structure/Service/Structure/StructureService.php +2 −1 Changes for module/Structure/src/Structure/Service/Structure/StructureService.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -380,8 +380,9 @@ EOS; * @param Agent|null $agent * @return boolean */ public function isResponsable(Structure $structure, ?Agent $agent) : bool public function isResponsable(?Structure $structure, ?Agent $agent) : bool { if ($structure === null) return false; if ($agent === null) return false; $date = (new DateTime()); Loading Loading
module/Structure/src/Structure/Service/Structure/StructureService.php +2 −1 Changes for module/Structure/src/Structure/Service/Structure/StructureService.php: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -380,8 +380,9 @@ EOS; * @param Agent|null $agent * @return boolean */ public function isResponsable(Structure $structure, ?Agent $agent) : bool public function isResponsable(?Structure $structure, ?Agent $agent) : bool { if ($structure === null) return false; if ($agent === null) return false; $date = (new DateTime()); Loading