| @@ -31,9 +31,9 @@ | ||
| 31 | 31 | */ |
| 32 | 32 | private function setUserGroups( |
| 33 | 33 | array $filteredUserGroups, |
| 34 | 34 | string $objectType, |
| 35 | - int|string|null $objectId, | |
| 35 | + int|string $objectId, | |
| 36 | 36 | array $addUserGroups, |
| 37 | 37 | array $removeUserGroups |
| 38 | 38 | ): void { |
| 39 | 39 | /** @var UserGroup $userGroup */ |
| @@ -58,9 +58,9 @@ | ||
| 58 | 58 | /** |
| 59 | 59 | * @throws UserGroupAssignmentException |
| 60 | 60 | * @throws UserGroupTypeException |
| 61 | 61 | */ |
| 62 | - private function setDynamicGroups(string $objectType, int|string|null $objectId, array $addDynamicUserGroups): void | |
| 62 | + private function setDynamicGroups(string $objectType, int|string $objectId, array $addDynamicUserGroups): void | |
| 63 | 63 | { |
| 64 | 64 | foreach ($addDynamicUserGroups as $dynamicUserGroupKey => $addDynamicUserGroup) { |
| 65 | 65 | $dynamicUserGroupData = explode('|', $dynamicUserGroupKey); |
| 66 | 66 | |
| @@ -85,9 +85,9 @@ | ||
| 85 | 85 | /** |
| 86 | 86 | * @throws UserGroupTypeException |
| 87 | 87 | * @throws Exception |
| 88 | 88 | */ |
| 89 | - private function setDefaultGroups(array $filteredUserGroups, string $objectType, int|string|null $objectId): void | |
| 89 | + private function setDefaultGroups(array $filteredUserGroups, string $objectType, int|string $objectId): void | |
| 90 | 90 | { |
| 91 | 91 | /** |
| 92 | 92 | * @var UserGroup[] $userGroupsToCheck |
| 93 | 93 | */ |
| @@ -111,9 +111,9 @@ | ||
| 111 | 111 | * @throws Exception |
| 112 | 112 | */ |
| 113 | 113 | public function assignObjectToUserGroups( |
| 114 | 114 | string $objectType, |
| 115 | - int|string|null $objectId, | |
| 115 | + int|string $objectId, | |
| 116 | 116 | array $addUserGroups, |
| 117 | 117 | array $removeUserGroups, |
| 118 | 118 | array $addDynamicUserGroups |
| 119 | 119 | ): void { |