Completed
Push — master ( 3cfb1c...f571fc )
by Derek Stephen
02:30
created
src/Middleware/HalCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Response/HtmlResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
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)),
Please login to merge, or discard this patch.