@@ -59,8 +59,9 @@ |
||
59 | 59 | { |
60 | 60 | return once(function () { |
61 | 61 | $option = $this->option('sync'); |
62 | - if ($option !== null) |
|
63 | - $option = (bool)$option; |
|
62 | + if ($option !== null) { |
|
63 | + $option = (bool)$option; |
|
64 | + } |
|
64 | 65 | |
65 | 66 | return $option === null ? $this->confirm('Should the job run Synchronously?', false) : $option; |
66 | 67 | }); |
@@ -71,8 +71,9 @@ |
||
71 | 71 | { |
72 | 72 | return once(function () { |
73 | 73 | $option = $this->option('mongo'); |
74 | - if ($option !== null) |
|
75 | - $option = (bool)$option; |
|
74 | + if ($option !== null) { |
|
75 | + $option = (bool)$option; |
|
76 | + } |
|
76 | 77 | |
77 | 78 | return $option === null ? $this->confirm('Is this migration for a mongodb database?', false) : $option; |
78 | 79 | }); |
@@ -62,8 +62,9 @@ |
||
62 | 62 | { |
63 | 63 | return once(function () { |
64 | 64 | $option = $this->option('queued'); |
65 | - if ($option !== null) |
|
66 | - $option = (bool)$option; |
|
65 | + if ($option !== null) { |
|
66 | + $option = (bool)$option; |
|
67 | + } |
|
67 | 68 | |
68 | 69 | return $option === null ? $this->confirm('Should the listener be queued?', false) : $option; |
69 | 70 | }); |