@@ -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); |
@@ -45,7 +45,7 @@ |
||
45 | 45 | return $html; |
46 | 46 | } |
47 | 47 | |
48 | - if (! is_string($html)) { |
|
48 | + if (!is_string($html)) { |
|
49 | 49 | throw new InvalidArgumentException(sprintf( |
50 | 50 | 'Invalid content (%s) provided to %s', |
51 | 51 | (is_object($html) ? get_class($html) : gettype($html)), |