@@ -112,7 +112,7 @@ |
||
| 112 | 112 | $argument = $this->getHelper('dialog')->askAndValidate( |
| 113 | 113 | $output, |
| 114 | 114 | '<question>Please enter '.$name.':</question>', |
| 115 | - function ($argument) use ($name) { |
|
| 115 | + function($argument) use ($name) { |
|
| 116 | 116 | if (empty($argument)) { |
| 117 | 117 | throw new \RuntimeException('The '.$name.' can not be empty'); |
| 118 | 118 | } |
@@ -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 | }) |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | $argument = $this->getHelper('dialog')->askAndValidate( |
| 113 | 113 | $output, |
| 114 | 114 | '<question>Please enter '.$name.':</question>', |
| 115 | - function ($argument) use ($name) { |
|
| 115 | + function($argument) use ($name) { |
|
| 116 | 116 | if (empty($argument)) { |
| 117 | 117 | throw new \RuntimeException('The '.$name.' can not be empty'); |
| 118 | 118 | } |