| @@ -24,9 +24,9 @@ | ||
| 24 | 24 | ) { |
| 25 | 25 | parent::__construct($assignmentInformationFactory); |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - public function getObjectName(int|string|null $objectId, string &$typeName = ''): int|string | |
| 28 | + public function getObjectName(int|string $objectId, string &$typeName = ''): int|string | |
| 29 | 29 | { |
| 30 | 30 | $term = $this->objectHandler->getTerm($objectId); |
| 31 | 31 | |
| 32 | 32 | if ($term !== false) { |
| @@ -54,9 +54,9 @@ | ||
| 54 | 54 | */ |
| 55 | 55 | public function isMember( |
| 56 | 56 | AbstractUserGroup $userGroup, |
| 57 | 57 | bool $lockRecursive, |
| 58 | - int|string|null $objectId, | |
| 58 | + int|string $objectId, | |
| 59 | 59 | ?AssignmentInformation &$assignmentInformation = null |
| 60 | 60 | ): bool { |
| 61 | 61 | return $this->getMembershipByMap($userGroup, $lockRecursive, $objectId, $assignmentInformation); |
| 62 | 62 | } |