@@ -19,6 +19,9 @@ |
||
| 19 | 19 | { |
| 20 | 20 | protected $metadataClass = null; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $associationMapping |
|
| 24 | + */ |
|
| 22 | 25 | public function setParentAssociationMapping($associationMapping): void |
| 23 | 26 | { |
| 24 | 27 | $this->parentAssociationMapping = $associationMapping; |
@@ -298,6 +298,9 @@ |
||
| 298 | 298 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
| 299 | 299 | } |
| 300 | 300 | |
| 301 | + /** |
|
| 302 | + * @param string $field |
|
| 303 | + */ |
|
| 301 | 304 | private function configureFormConfigComplexPropertyArray($field): void |
| 302 | 305 | { |
| 303 | 306 | $form = $this->prophesize(Form::class); |
@@ -212,6 +212,10 @@ |
||
| 212 | 212 | return new FormMapper($contractor->reveal(), $formBuilder, $this->admin->reveal()); |
| 213 | 213 | } |
| 214 | 214 | |
| 215 | + /** |
|
| 216 | + * @param string $uniqid |
|
| 217 | + * @param Request $request |
|
| 218 | + */ |
|
| 215 | 219 | private function configureAdmin( |
| 216 | 220 | ?string $uniqid = null, |
| 217 | 221 | ?Request $request = null, |
@@ -341,6 +341,9 @@ |
||
| 341 | 341 | return $containerMock; |
| 342 | 342 | } |
| 343 | 343 | |
| 344 | + /** |
|
| 345 | + * @param string $serviceId |
|
| 346 | + */ |
|
| 344 | 347 | private function getItemArray($serviceId): array |
| 345 | 348 | { |
| 346 | 349 | return [ |
@@ -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 = [], |
@@ -263,6 +263,10 @@ |
||
| 263 | 263 | ], array_keys($this->datagrid->getFilters())); |
| 264 | 264 | } |
| 265 | 265 | |
| 266 | + /** |
|
| 267 | + * @param string $name |
|
| 268 | + * @param string $label |
|
| 269 | + */ |
|
| 266 | 270 | private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription |
| 267 | 271 | { |
| 268 | 272 | $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class); |
@@ -257,6 +257,10 @@ |
||
| 257 | 257 | ], true), print_r($this->fieldDescriptionCollection->getElements(), true)); |
| 258 | 258 | } |
| 259 | 259 | |
| 260 | + /** |
|
| 261 | + * @param string $name |
|
| 262 | + * @param string $label |
|
| 263 | + */ |
|
| 260 | 264 | private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription |
| 261 | 265 | { |
| 262 | 266 | $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class); |
@@ -442,6 +442,10 @@ |
||
| 442 | 442 | $this->showMapper = new ShowMapper($this->showBuilder, $this->fieldDescriptionCollection, $this->admin); |
| 443 | 443 | } |
| 444 | 444 | |
| 445 | + /** |
|
| 446 | + * @param string $name |
|
| 447 | + * @param string $label |
|
| 448 | + */ |
|
| 445 | 449 | private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription |
| 446 | 450 | { |
| 447 | 451 | $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class); |
@@ -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, '|')) { |