Completed
Push — master ( ec158a...fcdd1b )
by Timo
12s
created
src/RequestLimiter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
      */
119 119
     private function _increment() : void
120 120
     {
121
-        $this->_requestCount ++;
121
+        $this->_requestCount++;
122 122
         if ($this->_requestCount === 1)
123 123
         {
124 124
             $this->_timekeeper->start();
Please login to merge, or discard this patch.
src/Cache/Strategies/Cache.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
         try
27 27
         {
28 28
             return parent::request($request, $handler);
29
-        }
30
-        catch (TooManyRequestsHttpException $tooManyRequestsHttpException)
29
+        } catch (TooManyRequestsHttpException $tooManyRequestsHttpException)
31 30
         {
32 31
             $response = $this->_getResponse($request);
33 32
             if ($response !== null)
Please login to merge, or discard this patch.
src/Cache/Helpers/ResponseHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
      */
20 20
     public static function hasErrorStatusCode(ResponseInterface $response) : bool
21 21
     {
22
-        return \in_array(+ \mb_substr($response->getStatusCode(), 0, 1), [4, 5], true);
22
+        return \in_array(+\mb_substr($response->getStatusCode(), 0, 1), [4, 5], true);
23 23
     }
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.