@@ -13,7 +13,6 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Doctrine\Common\Util\ClassUtils; |
| 15 | 15 | use Knp\Menu\FactoryInterface as MenuFactoryInterface; |
| 16 | -use Knp\Menu\ItemInterface; |
|
| 17 | 16 | use Knp\Menu\ItemInterface as MenuItemInterface; |
| 18 | 17 | use Sonata\AdminBundle\Builder\DatagridBuilderInterface; |
| 19 | 18 | use Sonata\AdminBundle\Builder\FormContractorInterface; |
@@ -2251,7 +2251,7 @@ discard block |
||
| 2251 | 2251 | * |
| 2252 | 2252 | * @param string $context |
| 2253 | 2253 | * |
| 2254 | - * @return array |
|
| 2254 | + * @return string[] |
|
| 2255 | 2255 | */ |
| 2256 | 2256 | public function getPermissionsShow($context) |
| 2257 | 2257 | { |
@@ -2495,7 +2495,7 @@ discard block |
||
| 2495 | 2495 | /** |
| 2496 | 2496 | * Set custom per page options. |
| 2497 | 2497 | * |
| 2498 | - * @param array $options |
|
| 2498 | + * @param integer[] $options |
|
| 2499 | 2499 | */ |
| 2500 | 2500 | public function setPerPageOptions(array $options) |
| 2501 | 2501 | { |
@@ -2915,7 +2915,7 @@ discard block |
||
| 2915 | 2915 | * NEXT_MAJOR: remove this method. |
| 2916 | 2916 | * |
| 2917 | 2917 | * @param MenuItemInterface $menu |
| 2918 | - * @param $action |
|
| 2918 | + * @param string $action |
|
| 2919 | 2919 | * @param AdminInterface $childAdmin |
| 2920 | 2920 | * |
| 2921 | 2921 | * @return mixed |
@@ -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 | { |
@@ -58,6 +58,7 @@ discard block |
||
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | 60 | * {@inheritdoc} |
| 61 | + * @param null|string $view |
|
| 61 | 62 | */ |
| 62 | 63 | public function render($view, array $parameters = [], Response $response = null) |
| 63 | 64 | { |
@@ -154,7 +155,7 @@ discard block |
||
| 154 | 155 | /** |
| 155 | 156 | * Delete action. |
| 156 | 157 | * |
| 157 | - * @param int|string|null $id |
|
| 158 | + * @param integer|null $id |
|
| 158 | 159 | * |
| 159 | 160 | * @return Response|RedirectResponse |
| 160 | 161 | * |
@@ -673,7 +674,7 @@ discard block |
||
| 673 | 674 | /** |
| 674 | 675 | * View history revision of object. |
| 675 | 676 | * |
| 676 | - * @param int|string|null $id |
|
| 677 | + * @param null|integer $id |
|
| 677 | 678 | * @param string|null $revision |
| 678 | 679 | * |
| 679 | 680 | * @return Response |
@@ -733,9 +734,9 @@ discard block |
||
| 733 | 734 | /** |
| 734 | 735 | * Compare history revisions of object. |
| 735 | 736 | * |
| 736 | - * @param int|string|null $id |
|
| 737 | - * @param int|string|null $base_revision |
|
| 738 | - * @param int|string|null $compare_revision |
|
| 737 | + * @param null|integer $id |
|
| 738 | + * @param null|integer $base_revision |
|
| 739 | + * @param null|integer $compare_revision |
|
| 739 | 740 | * |
| 740 | 741 | * @return Response |
| 741 | 742 | * |
@@ -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 | */ |