Completed
Pull Request — develop (#182)
by Tom
04:45
created
src/N98/Util/Console/Helper/ParameterHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
                 $storeId = $this->getHelperSet()->get('dialog')->askAndValidate(
84 84
                     $output,
85 85
                     $question,
86
-                    function ($typeInput) use ($stores) {
86
+                    function($typeInput) use ($stores) {
87 87
                         if (!isset($stores[$typeInput - 1])) {
88 88
                             throw new InvalidArgumentException('Invalid store');
89 89
                         }
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
             $websiteId = $this->getHelperSet()->get('dialog')->askAndValidate(
144 144
                 $output,
145 145
                 $question,
146
-                function ($typeInput) use ($websites) {
146
+                function($typeInput) use ($websites) {
147 147
                     if (!isset($websites[$typeInput - 1])) {
148 148
                         throw new InvalidArgumentException('Invalid store');
149 149
                     }
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
             $value = $this->getHelperSet()->get('dialog')->askAndValidate(
239 239
                 $output,
240 240
                 $question,
241
-                function ($typeInput) use ($validator, $constraints, $name) {
241
+                function($typeInput) use ($validator, $constraints, $name) {
242 242
                     $errors = $validator->validateValue(array($name => $typeInput), $constraints);
243 243
                     if (count($errors) > 0) {
244 244
                         throw new InvalidArgumentException($errors[0]->getMessage());
Please login to merge, or discard this patch.