Passed
Push — master ( 5a947a...f5dfc1 )
by Derek Stephen
17:12 queued 07:11
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
@@ -42,7 +42,7 @@
 block discarded – undo
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)),
Please login to merge, or discard this patch.