| @@ -17,9 +17,9 @@ | ||
| 17 | 17 | |
| 18 | 18 | /** |
| 19 | 19 | * @throws UserGroupTypeException |
| 20 | 20 | */ |
| 21 | - public function addUserColumn(?string $return, string $columnName, int|string|null $id): ?string | |
| 21 | + public function addUserColumn(?string $return, string $columnName, int|string $id): ?string | |
| 22 | 22 | { |
| 23 | 23 | if ($columnName === self::COLUMN_NAME) { |
| 24 | 24 | $this->setObjectInformation(ObjectHandler::GENERAL_USER_OBJECT_TYPE, $id); |
| 25 | 25 | $return .= $this->getIncludeContents('UserColumn.php'); |
| @@ -41,14 +41,14 @@ | ||
| 41 | 41 | |
| 42 | 42 | /** |
| 43 | 43 | * @throws UserGroupTypeException |
| 44 | 44 | */ |
| 45 | - public function saveUserData(int|string|null $userId): void | |
| 45 | + public function saveUserData(int|string $userId): void | |
| 46 | 46 | { |
| 47 | 47 | $this->saveObjectData(ObjectHandler::GENERAL_USER_OBJECT_TYPE, $userId); |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - public function removeUserData(int|string|null $userId): void | |
| 50 | + public function removeUserData(int|string $userId): void | |
| 51 | 51 | { |
| 52 | 52 | $this->removeObjectData(ObjectHandler::GENERAL_USER_OBJECT_TYPE, $userId); |
| 53 | 53 | } |
| 54 | 54 | } |