Completed
Pull Request — master (#15)
by Mischa
02:28
created
src/Superdesk/ContentApiSdk/API/Request/PaginationDecorator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
             $parameters->setPage((int) (ceil($offset / $length) + 1));
38 38
             $parameters->setMaxResults((int) $length);
39 39
             $this->setParameters($parameters);
40
-        } catch(InvalidArgumentException $e) {
40
+        } catch (InvalidArgumentException $e) {
41 41
             throw new RequestException('Could not set pagination parameters.');
42 42
         }
43 43
 
Please login to merge, or discard this patch.