@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | /** |
107 | 107 | * Finds the main organization of an user. |
108 | 108 | * |
109 | - * @param string|UserInterface $userOrId |
|
109 | + * @param string $userOrId |
|
110 | 110 | * |
111 | 111 | * @return null|OrganizationInterface |
112 | 112 | */ |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | /** |
143 | 143 | * Finds the organization, an user is employed by. |
144 | 144 | * |
145 | - * @param string|UserInterface $userOrId |
|
145 | + * @param string $userOrId |
|
146 | 146 | * |
147 | 147 | * @return null|OrganizationInterface |
148 | 148 | */ |
@@ -270,7 +270,7 @@ discard block |
||
270 | 270 | /** |
271 | 271 | * Look for an drafted Document of a given user |
272 | 272 | * |
273 | - * @param $user |
|
273 | + * @param \Auth\Entity\AnonymousUser $user |
|
274 | 274 | * @return \Organizations\Entity\Organization|null |
275 | 275 | */ |
276 | 276 | public function findDraft($user) |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | |
26 | 26 | /** |
27 | 27 | * @param bool $recursive |
28 | - * @param array $skipMembers |
|
28 | + * @param string[] $skipMembers |
|
29 | 29 | * |
30 | 30 | * @return $this |
31 | 31 | */ |
@@ -130,7 +130,7 @@ discard block |
||
130 | 130 | } |
131 | 131 | |
132 | 132 | /** |
133 | - * @param $property |
|
133 | + * @param string $property |
|
134 | 134 | * |
135 | 135 | * @return null |
136 | 136 | */ |
@@ -22,6 +22,9 @@ |
||
22 | 22 | */ |
23 | 23 | trait EntityTrait |
24 | 24 | { |
25 | + /** |
|
26 | + * @param string $property |
|
27 | + */ |
|
25 | 28 | public function notEmpty($property, array $args=[]) |
26 | 29 | { |
27 | 30 | $method = "get$property"; |
@@ -73,6 +73,9 @@ |
||
73 | 73 | |
74 | 74 | } |
75 | 75 | |
76 | + /** |
|
77 | + * @param string $layout |
|
78 | + */ |
|
76 | 79 | public function renderElement($element, $layout, $parameter) |
77 | 80 | { |
78 | 81 | $parameterPartial = $parameter; |
@@ -98,7 +98,7 @@ |
||
98 | 98 | /** |
99 | 99 | * Gets an iterator to iterate over the enabled formulars. |
100 | 100 | * |
101 | - * @return \ArrayIterator |
|
101 | + * @return PriorityList |
|
102 | 102 | * @see IteratorAggregate::getIterator() |
103 | 103 | */ |
104 | 104 | public function getIterator() |
@@ -215,8 +215,8 @@ |
||
215 | 215 | } |
216 | 216 | |
217 | 217 | /** |
218 | - * @param $response |
|
219 | - * @param $uri |
|
218 | + * @param \Zend\Stdlib\ResponseInterface $response |
|
219 | + * @param string $uri |
|
220 | 220 | * |
221 | 221 | * @return mixed |
222 | 222 | */ |
@@ -381,7 +381,6 @@ |
||
381 | 381 | } |
382 | 382 | |
383 | 383 | /** |
384 | - * @param mixed $element |
|
385 | 384 | * @return mixed |
386 | 385 | */ |
387 | 386 | protected function getElement($key) |
@@ -179,7 +179,7 @@ |
||
179 | 179 | |
180 | 180 | /** |
181 | 181 | * @throws \RuntimeException |
182 | - * @return Collection |
|
182 | + * @return \Core\Entity\EntityInterface |
|
183 | 183 | */ |
184 | 184 | protected function getCollection() |
185 | 185 | { |
@@ -129,7 +129,7 @@ discard block |
||
129 | 129 | |
130 | 130 | /** |
131 | 131 | * @param $resource |
132 | - * @param null $privilege |
|
132 | + * @param null|string $privilege |
|
133 | 133 | * @throws \Auth\Exception\UnauthorizedImageAccessException |
134 | 134 | * @throws \Auth\Exception\UnauthorizedAccessException |
135 | 135 | */ |
@@ -155,8 +155,8 @@ discard block |
||
155 | 155 | } |
156 | 156 | |
157 | 157 | /** |
158 | - * @param null $resource |
|
159 | - * @param null $privilege |
|
158 | + * @param null|string $resource |
|
159 | + * @param null|string $privilege |
|
160 | 160 | * @param string $mode |
161 | 161 | * @return $this|bool |
162 | 162 | */ |