@@ -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 | { |
@@ -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 | { |
@@ -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()) |
@@ -8,6 +8,9 @@ |
||
| 8 | 8 | { |
| 9 | 9 | protected $metadataClass = null; |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param string $associationMapping |
|
| 13 | + */ |
|
| 11 | 14 | public function setParentAssociationMapping($associationMapping) |
| 12 | 15 | { |
| 13 | 16 | $this->parentAssociationMapping = $associationMapping; |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | */ |
| 26 | 26 | trait PolyfillControllerTrait |
| 27 | 27 | { |
| 28 | + /** |
|
| 29 | + * @param string $methodName |
|
| 30 | + */ |
|
| 28 | 31 | public function __call($methodName, $arguments) |
| 29 | 32 | { |
| 30 | 33 | $this->proxyToController($methodName, $arguments); |
@@ -70,6 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * {@inheritdoc} |
| 73 | + * @param string $code |
|
| 73 | 74 | */ |
| 74 | 75 | private function getAdmin($code, $list = false, $granted = false) |
| 75 | 76 | { |
@@ -102,6 +103,8 @@ discard block |
||
| 102 | 103 | |
| 103 | 104 | /** |
| 104 | 105 | * {@inheritdoc} |
| 106 | + * @param string $parentCode |
|
| 107 | + * @param string $childCode |
|
| 105 | 108 | */ |
| 106 | 109 | private function getChildAdmin($parentCode, $childCode, $list = false, $granted = false) |
| 107 | 110 | { |
@@ -266,6 +266,12 @@ |
||
| 266 | 266 | ], array_keys($this->datagrid->getFilters())); |
| 267 | 267 | } |
| 268 | 268 | |
| 269 | + /** |
|
| 270 | + * @param string $name |
|
| 271 | + * @param string $label |
|
| 272 | + * |
|
| 273 | + * @return string |
|
| 274 | + */ |
|
| 269 | 275 | private function getFieldDescriptionMock($name = null, $label = null) |
| 270 | 276 | { |
| 271 | 277 | $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class); |
@@ -255,6 +255,12 @@ |
||
| 255 | 255 | ], true), print_r($this->fieldDescriptionCollection->getElements(), true)); |
| 256 | 256 | } |
| 257 | 257 | |
| 258 | + /** |
|
| 259 | + * @param string $name |
|
| 260 | + * @param string $label |
|
| 261 | + * |
|
| 262 | + * @return string |
|
| 263 | + */ |
|
| 258 | 264 | private function getFieldDescriptionMock($name = null, $label = null) |
| 259 | 265 | { |
| 260 | 266 | $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class); |