PluginProbe
User Access Manager / 2.3.2
User Access Manager v2.3.2
2.3.20 2.3.19 2.3.18 2.3.17 2.3.16 2.3.15 2.3.14 2.3.13 trunk 0.6 0.6.1 0.6.2 0.7 0.7 Beta 0.7.0.1 0.8 0.8.0.1 0.8.0.2 0.9 0.9.1 0.9.1.1 0.9.1.2 0.9.1.3 0.9.1.4 1.0 All 136 releases
← All changes | src/ObjectMembership/PostMembershipHandler.php +5 -5 2.3.172.3.2 View file →
@@ -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