@@ -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; |
@@ -2535,7 +2535,7 @@ discard block |
||
| 2535 | 2535 | * |
| 2536 | 2536 | * @param string $context |
| 2537 | 2537 | * |
| 2538 | - * @return array |
|
| 2538 | + * @return string[] |
|
| 2539 | 2539 | */ |
| 2540 | 2540 | public function getPermissionsShow($context) |
| 2541 | 2541 | { |
@@ -2779,7 +2779,7 @@ discard block |
||
| 2779 | 2779 | /** |
| 2780 | 2780 | * Set custom per page options. |
| 2781 | 2781 | * |
| 2782 | - * @param array $options |
|
| 2782 | + * @param integer[] $options |
|
| 2783 | 2783 | */ |
| 2784 | 2784 | public function setPerPageOptions(array $options) |
| 2785 | 2785 | { |
@@ -2912,6 +2912,7 @@ discard block |
||
| 2912 | 2912 | |
| 2913 | 2913 | /** |
| 2914 | 2914 | * {@inheritdoc} |
| 2915 | + * @param string $action |
|
| 2915 | 2916 | */ |
| 2916 | 2917 | public function hasAccess($action, $object = null) |
| 2917 | 2918 | { |
@@ -3002,6 +3003,7 @@ discard block |
||
| 3002 | 3003 | |
| 3003 | 3004 | /** |
| 3004 | 3005 | * {@inheritdoc} |
| 3006 | + * @param string $action |
|
| 3005 | 3007 | */ |
| 3006 | 3008 | public function getActionButtons($action, $object = null) |
| 3007 | 3009 | { |
@@ -3048,6 +3050,7 @@ discard block |
||
| 3048 | 3050 | |
| 3049 | 3051 | /** |
| 3050 | 3052 | * {@inheritdoc} |
| 3053 | + * @param boolean $isShown |
|
| 3051 | 3054 | */ |
| 3052 | 3055 | final public function showMosaicButton($isShown) |
| 3053 | 3056 | { |
@@ -3176,7 +3179,7 @@ discard block |
||
| 3176 | 3179 | * NEXT_MAJOR: remove this method. |
| 3177 | 3180 | * |
| 3178 | 3181 | * @param MenuItemInterface $menu |
| 3179 | - * @param $action |
|
| 3182 | + * @param string $action |
|
| 3180 | 3183 | * @param AdminInterface $childAdmin |
| 3181 | 3184 | * |
| 3182 | 3185 | * @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 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | * @throws \RuntimeException |
| 68 | 68 | * |
| 69 | 69 | * @param mixed $name |
| 70 | - * @param mixed $type |
|
| 70 | + * @param string|null $type |
|
| 71 | 71 | * @param array $fieldDescriptionOptions |
| 72 | 72 | * |
| 73 | 73 | * @return ListMapper |
@@ -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 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | * @param int $page |
| 41 | 41 | * @param int $offset |
| 42 | 42 | * |
| 43 | - * @return PagerInterface|false |
|
| 43 | + * @return null|\Symfony\Component\HttpFoundation\Response |
|
| 44 | 44 | * |
| 45 | 45 | * @throws \RuntimeException |
| 46 | 46 | */ |