Completed
Push — master ( 7e95b8...fc005f )
by Ehsan
05:36 queued 12s
created
src/Botonomous/client/ApiClient.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -117,11 +117,11 @@  discard block
 block discarded – undo
117 117
 
118 118
     /**
119 119
      * @param $method
120
-     * @param $requestBody
120
+     * @param string $requestBody
121 121
      *
122 122
      * @throws \Exception
123 123
      *
124
-     * @return mixed|\Psr\Http\Message\ResponseInterface
124
+     * @return ResponseInterface
125 125
      */
126 126
     private function sendRequest(string $method, $requestBody)
127 127
     {
@@ -371,7 +371,7 @@  discard block
 block discarded – undo
371 371
     }
372 372
 
373 373
     /**
374
-     * @param null $method
374
+     * @param string $method
375 375
      *
376 376
      * @throws \Exception
377 377
      *
Please login to merge, or discard this patch.
src/Botonomous/utility/ArrayUtility.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
      */
87 87
     public function sortArrayByLength(array $array)
88 88
     {
89
-        usort($array, function ($array1, $array2) {
89
+        usort($array, function($array1, $array2) {
90 90
             return strlen($array2) <=> strlen($array1);
91 91
         });
92 92
 
Please login to merge, or discard this patch.
src/Botonomous/listener/AbstractBaseListener.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -235,7 +235,7 @@
 block discarded – undo
235 235
      *
236 236
      * @throws \Exception
237 237
      *
238
-     * @return mixed|string
238
+     * @return string|null
239 239
      */
240 240
     public function getMessage()
241 241
     {
Please login to merge, or discard this patch.
src/Botonomous/Sender.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      *
137 137
      * @throws \Exception
138 138
      *
139
-     * @return mixed|string
139
+     * @return string
140 140
      */
141 141
     private function getResponseType()
142 142
     {
Please login to merge, or discard this patch.