@@ -293,7 +293,7 @@ discard block |
||
293 | 293 | } |
294 | 294 | |
295 | 295 | /** |
296 | - * @return Symfony\Component\DependencyInjection\ContainerInterface - the mock of container interface |
|
296 | + * @return ContainerInterface - the mock of container interface |
|
297 | 297 | */ |
298 | 298 | private function getContainer() |
299 | 299 | { |
@@ -307,6 +307,9 @@ discard block |
||
307 | 307 | return $containerMock; |
308 | 308 | } |
309 | 309 | |
310 | + /** |
|
311 | + * @param string $serviceId |
|
312 | + */ |
|
310 | 313 | private function getItemArray($serviceId) |
311 | 314 | { |
312 | 315 | return [ |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | /** |
127 | 127 | * render a list element from the FieldDescription. |
128 | 128 | * |
129 | - * @param mixed $object |
|
129 | + * @param \stdClass $object |
|
130 | 130 | * @param array $params |
131 | 131 | * |
132 | 132 | * @return string |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | /** |
223 | 223 | * render a view element. |
224 | 224 | * |
225 | - * @param mixed $object |
|
225 | + * @param \stdClass $object |
|
226 | 226 | * |
227 | 227 | * @return string |
228 | 228 | */ |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | /** |
360 | 360 | * Get the identifiers as a string that is safe to use in a url. |
361 | 361 | * |
362 | - * @param object $model |
|
362 | + * @param \stdClass $model |
|
363 | 363 | * |
364 | 364 | * @return string string representation of the id that is safe to use in a url |
365 | 365 | */ |
@@ -381,7 +381,7 @@ discard block |
||
381 | 381 | } |
382 | 382 | |
383 | 383 | /** |
384 | - * @return string|bool |
|
384 | + * @return string|false |
|
385 | 385 | */ |
386 | 386 | public function getXEditableType($type) |
387 | 387 | { |
@@ -257,6 +257,9 @@ discard block |
||
257 | 257 | return $datagrid; |
258 | 258 | } |
259 | 259 | |
260 | + /** |
|
261 | + * @param string $field |
|
262 | + */ |
|
260 | 263 | private function configureFormConfig($field, $disabled = false) |
261 | 264 | { |
262 | 265 | $form = $this->prophesize(Form::class); |
@@ -276,6 +279,9 @@ discard block |
||
276 | 279 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
277 | 280 | } |
278 | 281 | |
282 | + /** |
|
283 | + * @param string $field |
|
284 | + */ |
|
279 | 285 | private function configureFormConfigComplexProperty($field) |
280 | 286 | { |
281 | 287 | $form = $this->prophesize(Form::class); |
@@ -295,6 +301,9 @@ discard block |
||
295 | 301 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
296 | 302 | } |
297 | 303 | |
304 | + /** |
|
305 | + * @param string $field |
|
306 | + */ |
|
298 | 307 | private function configureFormConfigComplexPropertyArray($field) |
299 | 308 | { |
300 | 309 | $form = $this->prophesize(Form::class); |
@@ -257,6 +257,9 @@ discard block |
||
257 | 257 | return $datagrid; |
258 | 258 | } |
259 | 259 | |
260 | + /** |
|
261 | + * @param string $field |
|
262 | + */ |
|
260 | 263 | private function configureFormConfig($field, $disabled = false) |
261 | 264 | { |
262 | 265 | $form = $this->prophesize(Form::class); |
@@ -276,6 +279,9 @@ discard block |
||
276 | 279 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
277 | 280 | } |
278 | 281 | |
282 | + /** |
|
283 | + * @param string $field |
|
284 | + */ |
|
279 | 285 | private function configureFormConfigComplexProperty($field) |
280 | 286 | { |
281 | 287 | $form = $this->prophesize(Form::class); |
@@ -295,6 +301,9 @@ discard block |
||
295 | 301 | $formConfig->getAttribute('target_admin_access_action')->willReturn('list'); |
296 | 302 | } |
297 | 303 | |
304 | + /** |
|
305 | + * @param string $field |
|
306 | + */ |
|
298 | 307 | private function configureFormConfigComplexPropertyArray($field) |
299 | 308 | { |
300 | 309 | $form = $this->prophesize(Form::class); |