Passed
Pull Request — master (#133)
by Timo
02:58
created
src/Cache/Strategies/Cache.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,9 +11,12 @@
 block discarded – undo
11 11
 {
12 12
     public function request(RequestInterface $request, callable $handler): PromiseInterface
13 13
     {
14
-        try {
14
+        try
15
+        {
15 16
             return parent::request($request, $handler);
16
-        } catch (TooManyRequestsHttpException $tooManyRequestsHttpException) {
17
+        }
18
+        catch (TooManyRequestsHttpException $tooManyRequestsHttpException)
19
+        {
17 20
             $response = $this->_getResponse($request);
18 21
             if ($response !== null) {
19 22
                 return new FulfilledPromise($response);
Please login to merge, or discard this patch.