Test Failed
Push — master ( 015f2b...92e6f8 )
by Antonio Carlos
02:56
created
src/Checkers/Http.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      *
95 95
      * @param $url
96 96
      * @param $ssl
97
-     * @return mixed|\Psr\Http\Message\ResponseInterface
97
+     * @return \Psr\Http\Message\ResponseInterface
98 98
      * @throws \GuzzleHttp\Exception\GuzzleException
99 99
      */
100 100
     private function fetchResponse($url, $ssl, $parameters = [])
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
      * Make a url with a proper scheme.
166 166
      *
167 167
      * @param $url
168
-     * @param $secure
168
+     * @param boolean $secure
169 169
      * @return mixed
170 170
      */
171 171
     private function makeUrlWithScheme($url, $secure)
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
      * Send a request and get the result.
194 194
      *
195 195
      * @param $url
196
-     * @param $ssl
196
+     * @param boolean $ssl
197 197
      * @return bool
198 198
      * @internal param $response
199 199
      */
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         } catch (\Exception $exception) {
92 92
             $success = false;
93 93
 
94
-            $message = "Target: {$url} - ERROR: " . $exception->getMessage();
94
+            $message = "Target: {$url} - ERROR: ".$exception->getMessage();
95 95
 
96 96
             report($exception);
97 97
         }
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
     {
183 183
         return preg_replace(
184 184
             '|^((https?:)?\/\/)?(.*)|',
185
-            'http' . ($secure ? 's' : '') . '://\\3',
185
+            'http'.($secure ? 's' : '').'://\\3',
186 186
             $url
187 187
         );
188 188
     }
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
      */
195 195
     private function onStatsCallback()
196 196
     {
197
-        return function (TransferStats $stats) {
197
+        return function(TransferStats $stats) {
198 198
             $this->totalTime = $stats->getTransferTime();
199 199
         };
200 200
     }
Please login to merge, or discard this patch.