| @@ -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 | $post = $this->objectHandler->getPost($objectId); |
| 31 | 31 | |
| 32 | 32 | if ($post !== false) { |
| @@ -53,9 +53,9 @@ | ||
| 53 | 53 | * @throws Exception |
| 54 | 54 | */ |
| 55 | 55 | private function assignRecursiveMembershipByTerm( |
| 56 | 56 | AbstractUserGroup $userGroup, |
| 57 | - int|string|null $objectId, | |
| 57 | + int|string $objectId, | |
| 58 | 58 | array &$recursiveMembership |
| 59 | 59 | ): void { |
| 60 | 60 | $postTermMap = $this->objectMapHandler->getPostTermMap(); |
| 61 | 61 | |
| @@ -71,11 +71,11 @@ | ||
| 71 | 71 | /** |
| 72 | 72 | * @throws Exception |
| 73 | 73 | */ |
| 74 | 74 | public function isMember( |
| 75 | - AbstractUserGroup $userGroup, | |
| 76 | - bool $lockRecursive, | |
| 77 | - int|string|null $objectId, | |
| 75 | + AbstractUserGroup $userGroup, | |
| 76 | + bool $lockRecursive, | |
| 77 | + int|string $objectId, | |
| 78 | 78 | ?AssignmentInformation &$assignmentInformation = null |
| 79 | 79 | ): bool { |
| 80 | 80 | $isMember = $this->getMembershipByMap($userGroup, $lockRecursive, $objectId, $assignmentInformation); |
| 81 | 81 | |