@@ -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); |
@@ -74,7 +74,7 @@ |
||
74 | 74 | * @param $min [optional] |
75 | 75 | * @param $max [optional] |
76 | 76 | * |
77 | - * @return int A random integer value between min (or 0) and max |
|
77 | + * @return double A random integer value between min (or 0) and max |
|
78 | 78 | * @throws \Gojira\Framework\Exception\LocalizedException |
79 | 79 | */ |
80 | 80 | public static function getRandomNumber($min = 0, $max = null) |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * Render source text |
24 | 24 | * |
25 | - * @param array $source |
|
25 | + * @param string[] $source |
|
26 | 26 | * @param array $arguments |
27 | 27 | * @return string |
28 | 28 | */ |
@@ -10,7 +10,6 @@ |
||
10 | 10 | |
11 | 11 | use Gojira\Api\Response\BaseResponse; |
12 | 12 | use Gojira\Api\Response\ResponseInterface; |
13 | -use Symfony\Component\Console\Helper\TableCell; |
|
14 | 13 | |
15 | 14 | /** |
16 | 15 | * Render result for JIRA REST /issue |
@@ -8,7 +8,6 @@ |
||
8 | 8 | |
9 | 9 | namespace Gojira\Jira\Response; |
10 | 10 | |
11 | -use Gojira\Api\Response\BaseResponse; |
|
12 | 11 | use Gojira\Api\Response\ResponseInterface; |
13 | 12 | use Symfony\Component\Console\Helper\TableCell; |
14 | 13 |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | public function getJiraUrlQuestion() |
64 | 64 | { |
65 | 65 | $question = new Question('<question>Please enter your Jira URL:</question> '); |
66 | - $question->setValidator(function ($value) { |
|
66 | + $question->setValidator(function($value) { |
|
67 | 67 | if (trim($value) === '') { |
68 | 68 | throw new \Exception('The URL cannot be empty'); |
69 | 69 | } |
@@ -82,7 +82,7 @@ discard block |
||
82 | 82 | public function getJiraUsernameQuestion() |
83 | 83 | { |
84 | 84 | $question = new Question('<question>Please enter your Jira username:</question> '); |
85 | - $question->setValidator(function ($value) { |
|
85 | + $question->setValidator(function($value) { |
|
86 | 86 | if (trim($value) === '') { |
87 | 87 | throw new \Exception('The username cannot be empty'); |
88 | 88 | } |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | public function getJiraPasswordQuestion() |
102 | 102 | { |
103 | 103 | $question = new Question('<question>Please enter your Jira password:</question> '); |
104 | - $question->setValidator(function ($value) { |
|
104 | + $question->setValidator(function($value) { |
|
105 | 105 | if (trim($value) === '') { |
106 | 106 | throw new \Exception('The password cannot be empty'); |
107 | 107 | } |
@@ -8,7 +8,6 @@ |
||
8 | 8 | |
9 | 9 | namespace Gojira\Jira\Response; |
10 | 10 | |
11 | -use Gojira\Api\Response\BaseResponse; |
|
12 | 11 | use Gojira\Api\Response\ResponseInterface; |
13 | 12 | use Symfony\Component\Console\Helper\TableCell; |
14 | 13 |