@@ -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 | } |
@@ -91,10 +91,10 @@ |
||
91 | 91 | |
92 | 92 | $builder->get('cacheTimeInSeconds') |
93 | 93 | ->addModelTransformer(new CallbackTransformer( |
94 | - function ($value) { |
|
94 | + function($value) { |
|
95 | 95 | return $value; |
96 | 96 | }, |
97 | - function ($value) { |
|
97 | + function($value) { |
|
98 | 98 | return (int) $value; |
99 | 99 | } |
100 | 100 | )) |