@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | } |
186 | 186 | |
187 | 187 | /** |
188 | - * @param Right|null $deleteRight |
|
188 | + * @param Right $deleteRight |
|
189 | 189 | */ |
190 | 190 | public function setDeleteRight(Right $deleteRight) |
191 | 191 | { |
@@ -201,7 +201,7 @@ discard block |
||
201 | 201 | } |
202 | 202 | |
203 | 203 | /** |
204 | - * @param Right|null $postRight |
|
204 | + * @param Right $postRight |
|
205 | 205 | */ |
206 | 206 | public function setPostRight(Right $postRight) |
207 | 207 | { |
@@ -217,7 +217,7 @@ discard block |
||
217 | 217 | } |
218 | 218 | |
219 | 219 | /** |
220 | - * @param Right|null $putRight |
|
220 | + * @param Right $putRight |
|
221 | 221 | */ |
222 | 222 | public function setPutRight(Right $putRight) |
223 | 223 | { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | } |
234 | 234 | |
235 | 235 | /** |
236 | - * @param Right|null $listRight |
|
236 | + * @param Right $listRight |
|
237 | 237 | */ |
238 | 238 | public function setListRight(Right $listRight) |
239 | 239 | { |
@@ -249,7 +249,7 @@ discard block |
||
249 | 249 | } |
250 | 250 | |
251 | 251 | /** |
252 | - * @param Right|null $getRight |
|
252 | + * @param Right $getRight |
|
253 | 253 | */ |
254 | 254 | public function setGetRight(Right $getRight) |
255 | 255 | { |
@@ -272,6 +272,9 @@ discard block |
||
272 | 272 | $this->methods = $methods; |
273 | 273 | } |
274 | 274 | |
275 | + /** |
|
276 | + * @return \Metadata\PropertyMetadata |
|
277 | + */ |
|
275 | 278 | public function getPropertyMetadata(string $property): ?PropertyMetadata |
276 | 279 | { |
277 | 280 | if (array_key_exists($property, $this->propertyMetadata)) { |
@@ -354,6 +354,9 @@ |
||
354 | 354 | return $this; |
355 | 355 | } |
356 | 356 | |
357 | + /** |
|
358 | + * @param boolean $value |
|
359 | + */ |
|
357 | 360 | protected function getBool(?bool $value, bool $default) |
358 | 361 | { |
359 | 362 | if (null === $value) { |