| @@ -77,9 +77,9 @@ | ||
| 77 | 77 | /** |
| 78 | 78 | * @throws UserGroupAssignmentException |
| 79 | 79 | * @throws Exception |
| 80 | 80 | */ |
| 81 | - public function addObject(string $objectType, int|string|null $objectId, $fromDate = null, $toDate = null): bool | |
| 81 | + public function addObject(string $objectType, int|string $objectId, $fromDate = null, $toDate = null): bool | |
| 82 | 82 | { |
| 83 | 83 | if ($this->objectHandler->getGeneralObjectType($objectType) === ObjectHandler::GENERAL_USER_OBJECT_TYPE) { |
| 84 | 84 | throw new UserGroupAssignmentException('Dynamic user groups can\'t be assigned to user.'); |
| 85 | 85 | } |