@@ -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 | }) |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | $default = $input->getOption('default'); |
| 123 | 123 | if (!$input->getArgument($name) && !$default) { |
| 124 | 124 | $question = new Question(sprintf('<question>Please enter %s:</question>', $name)); |
| 125 | - $question->setValidator(function ($argument) use ($name) { |
|
| 125 | + $question->setValidator(function($argument) use ($name) { |
|
| 126 | 126 | if (empty($argument)) { |
| 127 | 127 | throw new \RuntimeException(sprintf('The %s can not be empty', $name)); |
| 128 | 128 | } |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | |
| 101 | 101 | if (!$input->getArgument($name) && !$default) { |
| 102 | 102 | $question = new Question(sprintf('<question>Please enter %s:</question>', $name)); |
| 103 | - $question->setValidator(function ($argument) use ($name) { |
|
| 103 | + $question->setValidator(function($argument) use ($name) { |
|
| 104 | 104 | if (empty($argument)) { |
| 105 | 105 | throw new \RuntimeException(sprintf('The %s can not be empty', $name)); |
| 106 | 106 | } |