@@ -25,7 +25,6 @@ |
||
| 25 | 25 | use Superdesk\ContentApiSdk\Data\Package; |
| 26 | 26 | use Superdesk\ContentApiSdk\Exception\ClientException; |
| 27 | 27 | use Superdesk\ContentApiSdk\Exception\ContentApiException; |
| 28 | -use Superdesk\ContentApiSdk\Exception\InvalidArgumentException; |
|
| 29 | 28 | use Superdesk\ContentApiSdk\Exception\InvalidDataException; |
| 30 | 29 | use Exception; |
| 31 | 30 | use stdClass; |
@@ -37,7 +37,7 @@ |
||
| 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 | |