Completed
Push — master ( 69cda4...f82bd7 )
by Toan
12s
created
src/Gojira/Api/HandlerStack/HandlerStackInterface.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Gojira/Provider/DispatcherServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Gojira/Provider/ConsoleServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Gojira/Framework/Math/Random.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Gojira/Framework/Phrase/Renderer/Placeholder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.
src/Gojira/Jira/Response/IssueResponse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Gojira/Jira/Response/TransitionResponse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Gojira/Provider/Console/Prompt.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
             }
Please login to merge, or discard this patch.
src/Gojira/Jira/Response/WorklogResponse.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.