@@ -3986,6 +3986,9 @@ |
||
| 3986 | 3986 | ]); |
| 3987 | 3987 | } |
| 3988 | 3988 | |
| 3989 | + /** |
|
| 3990 | + * @param string $domain |
|
| 3991 | + */ |
|
| 3989 | 3992 | private function expectTranslate( |
| 3990 | 3993 | string $id, |
| 3991 | 3994 | array $parameters = [], |
@@ -42,6 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @param ContainerInterface|Pool $adminPool |
| 45 | + * @param string $mosaicBackground |
|
| 45 | 46 | */ |
| 46 | 47 | public function __construct($adminPool, ?string $mosaicBackground = null) |
| 47 | 48 | { |
@@ -78,7 +79,7 @@ discard block |
||
| 78 | 79 | /** |
| 79 | 80 | * @param string $code |
| 80 | 81 | * @param string $action |
| 81 | - * @param array $parameters |
|
| 82 | + * @param string[] $parameters |
|
| 82 | 83 | * @param int $absolute |
| 83 | 84 | * |
| 84 | 85 | * @return string |
@@ -93,8 +94,8 @@ discard block |
||
| 93 | 94 | /** |
| 94 | 95 | * @param string $code |
| 95 | 96 | * @param string $action |
| 96 | - * @param mixed $object |
|
| 97 | - * @param array $parameters |
|
| 97 | + * @param string $object |
|
| 98 | + * @param string[] $parameters |
|
| 98 | 99 | * @param int $absolute |
| 99 | 100 | * |
| 100 | 101 | * @return string |
@@ -111,6 +112,10 @@ discard block |
||
| 111 | 112 | return $this->mosaicBackground; |
| 112 | 113 | } |
| 113 | 114 | |
| 115 | + /** |
|
| 116 | + * @param string $code |
|
| 117 | + * @param string $action |
|
| 118 | + */ |
|
| 114 | 119 | private function getCodeAction($code, $action): array |
| 115 | 120 | { |
| 116 | 121 | if ($pipe = strpos($code, '|')) { |
@@ -47,6 +47,8 @@ |
||
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | 49 | * @param array<string, mixed> $options |
| 50 | + * @param string $description |
|
| 51 | + * @param string $domain |
|
| 50 | 52 | */ |
| 51 | 53 | public function __construct( |
| 52 | 54 | string $title, |
@@ -40,6 +40,9 @@ |
||
| 40 | 40 | */ |
| 41 | 41 | private $validator; |
| 42 | 42 | |
| 43 | + /** |
|
| 44 | + * @param ValidatorInterface $validator |
|
| 45 | + */ |
|
| 43 | 46 | public function __construct(Environment $twig, Pool $pool, $validator) |
| 44 | 47 | { |
| 45 | 48 | // NEXT_MAJOR: Move ValidatorInterface check to method signature |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | /** |
| 51 | 51 | * @param $type |
| 52 | 52 | * |
| 53 | - * @return callable |
|
| 53 | + * @return \Closure |
|
| 54 | 54 | */ |
| 55 | 55 | public function getConfigureEventClosure($type) |
| 56 | 56 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | /** |
| 71 | 71 | * @param $type |
| 72 | 72 | * |
| 73 | - * @return callable |
|
| 73 | + * @return \Closure |
|
| 74 | 74 | */ |
| 75 | 75 | public function getConfigurePersistenceClosure($type) |
| 76 | 76 | { |
@@ -56,6 +56,9 @@ |
||
| 56 | 56 | ); |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | + /** |
|
| 60 | + * @return string |
|
| 61 | + */ |
|
| 59 | 62 | protected function getParentClass() |
| 60 | 63 | { |
| 61 | 64 | if (class_exists(RangeType::class)) { |
@@ -68,6 +68,9 @@ |
||
| 68 | 68 | return $extensions; |
| 69 | 69 | } |
| 70 | 70 | |
| 71 | + /** |
|
| 72 | + * @return string |
|
| 73 | + */ |
|
| 71 | 74 | protected function getChoiceClass() |
| 72 | 75 | { |
| 73 | 76 | return CollectionType::class; |
@@ -41,7 +41,7 @@ |
||
| 41 | 41 | /** |
| 42 | 42 | * @param mixed $data |
| 43 | 43 | * |
| 44 | - * @return ItemInterface |
|
| 44 | + * @return \PHPUnit\Framework\MockObject\MockObject |
|
| 45 | 45 | */ |
| 46 | 46 | protected function createItem($data) |
| 47 | 47 | { |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | - * @return mixed |
|
| 66 | + * @return string |
|
| 67 | 67 | */ |
| 68 | 68 | public function getType() |
| 69 | 69 | { |