@@ -51,7 +51,6 @@ discard block |
||
| 51 | 51 | /** |
| 52 | 52 | * @param GridView $gridView |
| 53 | 53 | * @param string $template |
| 54 | - * @param array $variables |
|
| 55 | 54 | * |
| 56 | 55 | * @return mixed |
| 57 | 56 | */ |
@@ -84,8 +83,6 @@ discard block |
||
| 84 | 83 | |
| 85 | 84 | /** |
| 86 | 85 | * @param GridView $gridView |
| 87 | - * @param Action $action |
|
| 88 | - * @param mixed $data |
|
| 89 | 86 | */ |
| 90 | 87 | public function renderFilter(GridView $gridView, Filter $filter) |
| 91 | 88 | { |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param $id |
|
| 49 | + * @param string $id |
|
| 50 | 50 | * |
| 51 | 51 | * @return object |
| 52 | 52 | */ |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | /** |
| 75 | - * @param array $headers |
|
| 75 | + * @param string[] $headers |
|
| 76 | 76 | * @param array $rows |
| 77 | 77 | * @param OutputInterface $output |
| 78 | 78 | */ |
@@ -144,9 +144,9 @@ discard block |
||
| 144 | 144 | /** |
| 145 | 145 | * @param OutputInterface $output |
| 146 | 146 | * @param string $question |
| 147 | - * @param array $constraints |
|
| 147 | + * @param \Symfony\Component\Validator\Constraints\NotBlank[] $constraints |
|
| 148 | 148 | * |
| 149 | - * @return mixed |
|
| 149 | + * @return string |
|
| 150 | 150 | */ |
| 151 | 151 | protected function askHidden(OutputInterface $output, $question, array $constraints = []) |
| 152 | 152 | { |
@@ -159,7 +159,7 @@ discard block |
||
| 159 | 159 | * @param array $constraints |
| 160 | 160 | * @param mixed $default |
| 161 | 161 | * |
| 162 | - * @return mixed |
|
| 162 | + * @return string |
|
| 163 | 163 | */ |
| 164 | 164 | protected function ask(OutputInterface $output, $question, array $constraints = [], $default = null) |
| 165 | 165 | { |
@@ -167,7 +167,7 @@ discard block |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @param mixed $value |
|
| 170 | + * @param string $value |
|
| 171 | 171 | * @param array $constraints |
| 172 | 172 | * |
| 173 | 173 | * @return bool |
@@ -195,7 +195,7 @@ discard block |
||
| 195 | 195 | * @param string $default |
| 196 | 196 | * @param bool $hidden |
| 197 | 197 | * |
| 198 | - * @return mixed |
|
| 198 | + * @return string |
|
| 199 | 199 | */ |
| 200 | 200 | private function proceedAskRequest(OutputInterface $output, $question, array $constraints = [], $default = null, $hidden = false) |
| 201 | 201 | { |
@@ -11,7 +11,6 @@ |
||
| 11 | 11 | |
| 12 | 12 | namespace Sylius\Bundle\InstallerBundle\Command; |
| 13 | 13 | |
| 14 | -use Sylius\Bundle\CoreBundle\Kernel\Kernel; |
|
| 15 | 14 | use Symfony\Component\Console\Application; |
| 16 | 15 | use Symfony\Component\Console\Input\ArrayInput; |
| 17 | 16 | use Symfony\Component\Console\Input\InputInterface; |
@@ -215,7 +215,7 @@ |
||
| 215 | 215 | /** |
| 216 | 216 | * @param OutputInterface $output |
| 217 | 217 | * |
| 218 | - * @return mixed |
|
| 218 | + * @return string |
|
| 219 | 219 | */ |
| 220 | 220 | private function getAdministratorPassword(OutputInterface $output) |
| 221 | 221 | { |
@@ -17,7 +17,6 @@ |
||
| 17 | 17 | use Symfony\Component\Console\Input\InputInterface; |
| 18 | 18 | use Symfony\Component\Console\Output\OutputInterface; |
| 19 | 19 | use Symfony\Component\Intl\Intl; |
| 20 | -use Symfony\Component\Validator\Constraints\Currency; |
|
| 21 | 20 | use Symfony\Component\Validator\Constraints\Email; |
| 22 | 21 | use Symfony\Component\Validator\Constraints\NotBlank; |
| 23 | 22 | |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | ->setDescription('Initialize default permissions & roles in the application.') |
| 31 | 31 | ->setHelp(<<<EOT |
| 32 | 32 | The <info>%command.name%</info> command initializes default RBAC setup. |
| 33 | -EOT |
|
| 33 | +eot |
|
| 34 | 34 | ) |
| 35 | 35 | ; |
| 36 | 36 | } |
@@ -20,6 +20,12 @@ |
||
| 20 | 20 | protected $help; |
| 21 | 21 | protected $required; |
| 22 | 22 | |
| 23 | + /** |
|
| 24 | + * @param string $label |
|
| 25 | + * @param boolean $fulfilled |
|
| 26 | + * @param string $expected |
|
| 27 | + * @param string $help |
|
| 28 | + */ |
|
| 23 | 29 | public function __construct($label, $fulfilled, $expected, $actual, $required = true, $help = null) |
| 24 | 30 | { |
| 25 | 31 | $this->label = $label; |
@@ -19,6 +19,9 @@ |
||
| 19 | 19 | protected $label; |
| 20 | 20 | protected $requirements = []; |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $label |
|
| 24 | + */ |
|
| 22 | 25 | public function __construct($label) |
| 23 | 26 | { |
| 24 | 27 | $this->label = $label; |
@@ -12,8 +12,8 @@ |
||
| 12 | 12 | namespace Sylius\Bundle\MetadataBundle\DependencyInjection; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\MetadataBundle\Controller\MetadataController; |
| 15 | -use Sylius\Bundle\MetadataBundle\Model\MetadataContainer; |
|
| 16 | 15 | use Sylius\Bundle\MetadataBundle\Form\Type\MetadataContainerType; |
| 16 | +use Sylius\Bundle\MetadataBundle\Model\MetadataContainer; |
|
| 17 | 17 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 18 | 18 | use Sylius\Component\Metadata\Factory\MetadataContainerFactory; |
| 19 | 19 | use Sylius\Component\Metadata\Model\MetadataContainerInterface; |
@@ -14,13 +14,13 @@ |
||
| 14 | 14 | use Sylius\Bundle\OrderBundle\Controller\AdjustmentController; |
| 15 | 15 | use Sylius\Bundle\OrderBundle\Controller\CommentController; |
| 16 | 16 | use Sylius\Bundle\OrderBundle\Controller\OrderItemController; |
| 17 | -use Sylius\Component\Order\Factory\OrderItemUnitFactory; |
|
| 18 | 17 | use Sylius\Bundle\OrderBundle\Form\Type\AdjustmentType; |
| 19 | 18 | use Sylius\Bundle\OrderBundle\Form\Type\CommentType; |
| 20 | 19 | use Sylius\Bundle\OrderBundle\Form\Type\OrderItemType; |
| 21 | 20 | use Sylius\Bundle\OrderBundle\Form\Type\OrderType; |
| 22 | 21 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
| 23 | 22 | use Sylius\Bundle\ResourceBundle\SyliusResourceBundle; |
| 23 | +use Sylius\Component\Order\Factory\OrderItemUnitFactory; |
|
| 24 | 24 | use Sylius\Component\Order\Model\Adjustment; |
| 25 | 25 | use Sylius\Component\Order\Model\AdjustmentInterface; |
| 26 | 26 | use Sylius\Component\Order\Model\Comment; |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | /** |
| 59 | 59 | * {@inheritdoc} |
| 60 | 60 | * |
| 61 | - * @return IdentityInterface|null |
|
| 61 | + * @return IdentityInterface |
|
| 62 | 62 | */ |
| 63 | 63 | public function getDetails() |
| 64 | 64 | { |