@@ -30,7 +30,7 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @return array |
|
33 | + * @return FieldDescriptionInterface[] |
|
34 | 34 | */ |
35 | 35 | public function getElements() |
36 | 36 | { |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | } |
279 | 279 | |
280 | 280 | /** |
281 | - * @param array $adminServiceIds |
|
281 | + * @param string[] $adminServiceIds |
|
282 | 282 | */ |
283 | 283 | public function setAdminServiceIds(array $adminServiceIds) |
284 | 284 | { |
@@ -286,7 +286,7 @@ discard block |
||
286 | 286 | } |
287 | 287 | |
288 | 288 | /** |
289 | - * @return array |
|
289 | + * @return string[] |
|
290 | 290 | */ |
291 | 291 | public function getAdminServiceIds() |
292 | 292 | { |
@@ -318,7 +318,7 @@ discard block |
||
318 | 318 | } |
319 | 319 | |
320 | 320 | /** |
321 | - * @return array |
|
321 | + * @return string[] |
|
322 | 322 | */ |
323 | 323 | public function getTemplates() |
324 | 324 | { |
@@ -459,7 +459,7 @@ discard block |
||
459 | 459 | * Returns a parameter. |
460 | 460 | * |
461 | 461 | * @param string $name |
462 | - * @param mixed $default |
|
462 | + * @param null|string $default |
|
463 | 463 | * |
464 | 464 | * @return mixed |
465 | 465 | */ |
@@ -484,7 +484,7 @@ discard block |
||
484 | 484 | * Sets a parameter. |
485 | 485 | * |
486 | 486 | * @param string $name |
487 | - * @param mixed $value |
|
487 | + * @param string $value |
|
488 | 488 | */ |
489 | 489 | public function setParameter($name, $value) |
490 | 490 | { |
@@ -595,7 +595,7 @@ discard block |
||
595 | 595 | } |
596 | 596 | |
597 | 597 | /** |
598 | - * @param array $countColumn |
|
598 | + * @param string[] $countColumn |
|
599 | 599 | * |
600 | 600 | * @return array |
601 | 601 | */ |
@@ -50,7 +50,7 @@ |
||
50 | 50 | * |
51 | 51 | * @param ModelChoiceList|LazyChoiceList|ModelChoiceLoader $choiceList |
52 | 52 | * @param ModelManagerInterface $modelManager |
53 | - * @param $class |
|
53 | + * @param string $class |
|
54 | 54 | * |
55 | 55 | * @throws RuntimeException |
56 | 56 | */ |
@@ -38,7 +38,7 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * @param ModelManagerInterface $modelManager |
41 | - * @param array|string $skeletonDirectories |
|
41 | + * @param string $skeletonDirectories |
|
42 | 42 | */ |
43 | 43 | public function __construct(ModelManagerInterface $modelManager, $skeletonDirectories) |
44 | 44 | { |
@@ -31,7 +31,7 @@ |
||
31 | 31 | private $file; |
32 | 32 | |
33 | 33 | /** |
34 | - * @param array|string $skeletonDirectory |
|
34 | + * @param string $skeletonDirectory |
|
35 | 35 | */ |
36 | 36 | public function __construct($skeletonDirectory) |
37 | 37 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | /** |
67 | 67 | * @param string $code |
68 | 68 | * @param string $action |
69 | - * @param array $parameters |
|
69 | + * @param string[] $parameters |
|
70 | 70 | * @param mixed $absolute |
71 | 71 | * |
72 | 72 | * @return string |
@@ -81,8 +81,8 @@ discard block |
||
81 | 81 | /** |
82 | 82 | * @param string $code |
83 | 83 | * @param string $action |
84 | - * @param mixed $object |
|
85 | - * @param array $parameters |
|
84 | + * @param string $object |
|
85 | + * @param string[] $parameters |
|
86 | 86 | * @param mixed $absolute |
87 | 87 | * |
88 | 88 | * @return string |
@@ -95,8 +95,8 @@ discard block |
||
95 | 95 | } |
96 | 96 | |
97 | 97 | /** |
98 | - * @param $code |
|
99 | - * @param $action |
|
98 | + * @param string $code |
|
99 | + * @param string $action |
|
100 | 100 | * |
101 | 101 | * @return array |
102 | 102 | */ |
@@ -195,6 +195,10 @@ |
||
195 | 195 | return new FormMapper($contractor->reveal(), $formBuilder, $this->admin->reveal()); |
196 | 196 | } |
197 | 197 | |
198 | + /** |
|
199 | + * @param string $uniqid |
|
200 | + * @param Request $request |
|
201 | + */ |
|
198 | 202 | private function configureAdmin($uniqid = null, $request = null, $modelManager = null) |
199 | 203 | { |
200 | 204 | $this->admin->getUniqid()->willReturn($uniqid); |
@@ -3759,6 +3759,9 @@ discard block |
||
3759 | 3759 | ]; |
3760 | 3760 | } |
3761 | 3761 | |
3762 | + /** |
|
3763 | + * @param string $method |
|
3764 | + */ |
|
3762 | 3765 | private function assertLoggerLogsModelManagerException($subject, $method) |
3763 | 3766 | { |
3764 | 3767 | $exception = new ModelManagerException( |
@@ -3781,6 +3784,10 @@ discard block |
||
3781 | 3784 | ]); |
3782 | 3785 | } |
3783 | 3786 | |
3787 | + /** |
|
3788 | + * @param string $id |
|
3789 | + * @param string $domain |
|
3790 | + */ |
|
3784 | 3791 | private function expectTranslate($id, array $parameters = [], $domain = null, $locale = null) |
3785 | 3792 | { |
3786 | 3793 | $this->translator->expects($this->once()) |