@@ -19,7 +19,7 @@ |
||
| 19 | 19 | interface HandlerStackInterface |
| 20 | 20 | { |
| 21 | 21 | /** |
| 22 | - * @return \GuzzleHttp\HandlerStack; |
|
| 22 | + * @return HandlerStack |
|
| 23 | 23 | */ |
| 24 | 24 | public static function create(); |
| 25 | 25 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function register(Container $pimple) |
| 25 | 25 | { |
| 26 | - $pimple['dispatcher'] = function () { |
|
| 26 | + $pimple['dispatcher'] = function() { |
|
| 27 | 27 | return new EventDispatcher; |
| 28 | 28 | }; |
| 29 | 29 | } |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | */ |
| 24 | 24 | public function register(Container $pimple) |
| 25 | 25 | { |
| 26 | - $pimple['console'] = function ($pimple) { |
|
| 26 | + $pimple['console'] = function($pimple) { |
|
| 27 | 27 | $console = new ContainerAwareApplication($pimple['console.name'], $pimple['console.version']); |
| 28 | 28 | $console->setDispatcher($pimple['dispatcher']); |
| 29 | 29 | $console->setContainer($pimple); |
@@ -145,7 +145,7 @@ discard block |
||
| 145 | 145 | private function getJiraUrlQuestion() |
| 146 | 146 | { |
| 147 | 147 | $question = new Question('<question>Please enter your Jira URL:</question> '); |
| 148 | - $question->setValidator(function ($value) { |
|
| 148 | + $question->setValidator(function($value) { |
|
| 149 | 149 | if (trim($value) === '') { |
| 150 | 150 | throw new \Exception('The URL cannot be empty'); |
| 151 | 151 | } |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | private function getJiraUsernameQuestion() |
| 165 | 165 | { |
| 166 | 166 | $question = new Question('<question>Please enter your Jira username:</question> '); |
| 167 | - $question->setValidator(function ($value) { |
|
| 167 | + $question->setValidator(function($value) { |
|
| 168 | 168 | if (trim($value) === '') { |
| 169 | 169 | throw new \Exception('The username cannot be empty'); |
| 170 | 170 | } |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | private function getJiraPasswordQuestion() |
| 184 | 184 | { |
| 185 | 185 | $question = new Question('<question>Please enter your Jira password:</question> '); |
| 186 | - $question->setValidator(function ($value) { |
|
| 186 | + $question->setValidator(function($value) { |
|
| 187 | 187 | if (trim($value) === '') { |
| 188 | 188 | throw new \Exception('The password cannot be empty'); |
| 189 | 189 | } |