@@ -46,8 +46,8 @@ |
||
| 46 | 46 | ->end() |
| 47 | 47 | ->arrayNode('persistence') |
| 48 | 48 | ->validate() |
| 49 | - ->ifTrue(function ($v) { |
|
| 50 | - return count(array_filter($v, function ($persistence) { |
|
| 49 | + ->ifTrue(function($v) { |
|
| 50 | + return count(array_filter($v, function($persistence) { |
|
| 51 | 51 | return $persistence['enabled']; |
| 52 | 52 | })) > 1; |
| 53 | 53 | }) |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | $default = $input->getOption('default'); |
| 131 | 131 | if (!$input->getArgument($name) && !$default && $name !== $this->arguments[1]) { |
| 132 | 132 | $question = new Question(sprintf('<question>Please enter %s:</question>', $name)); |
| 133 | - $question->setValidator(function ($argument) use ($name) { |
|
| 133 | + $question->setValidator(function($argument) use ($name) { |
|
| 134 | 134 | if (empty($argument)) { |
| 135 | 135 | throw new \RuntimeException(sprintf('The %s can not be empty', $name)); |
| 136 | 136 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | public function configureOptions(OptionsResolver $resolver) |
| 58 | 58 | { |
| 59 | 59 | $resolver->setDefaults([ |
| 60 | - 'choices' => function (Options $options) { |
|
| 60 | + 'choices' => function(Options $options) { |
|
| 61 | 61 | return $this->tenantRepository->findAll(); |
| 62 | 62 | }, |
| 63 | 63 | 'choice_value' => 'code', |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |