Completed
Push — master ( 8c603b...0fc2c5 )
by Timo
02:16
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/Middleware/ThrottleMiddleware.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,8 +32,8 @@
 block discarded – undo
32 32
      */
33 33
     public function handle() : callable
34 34
     {
35
-        return function (callable $handler): callable {
36
-            return function (RequestInterface $request, array $options) use ($handler) : callable {
35
+        return function(callable $handler): callable {
36
+            return function(RequestInterface $request, array $options) use ($handler) : callable {
37 37
                 if (!$this->_requestLimitGroup->canRequest()) {
38 38
                     throw new TooManyRequestsHttpException(
39 39
                         $this->_requestLimitGroup->getRetryAfter(),
Please login to merge, or discard this patch.