@@ -118,7 +118,7 @@ |
||
| 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(); |
@@ -32,8 +32,8 @@ |
||
| 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(), |