@@ -32,7 +32,7 @@ |
||
| 32 | 32 | $page = isset($params['page']) ? (int) $params['page'] : 1; |
| 33 | 33 | $limit = $this->numPerPage; |
| 34 | 34 | $params['limit'] = $limit; |
| 35 | - $params['offset'] = ($page * $limit) - $limit; |
|
| 35 | + $params['offset'] = ($page * $limit) - $limit; |
|
| 36 | 36 | $request = $request->withQueryParams($params); |
| 37 | 37 | |
| 38 | 38 | $response = $handler->handle($request); |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | return $html; |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - if (! is_string($html)) { |
|
| 45 | + if (!is_string($html)) { |
|
| 46 | 46 | throw new Exception\InvalidArgumentException(sprintf( |
| 47 | 47 | 'Invalid content (%s) provided to %s', |
| 48 | 48 | (is_object($html) ? get_class($html) : gettype($html)), |