Passed
Push — coverage ( 650341 )
by Arnaud
04:53
created
src/Collection/Page/Collection.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function all(): self
26 26
     {
27
-        $filteredPages = $this->filter(function (Page $page) {
27
+        $filteredPages = $this->filter(function(Page $page) {
28 28
             if ($page->isVirtual() === false) {
29 29
                 return true;
30 30
             }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function sortByDate(): self
42 42
     {
43
-        return $this->usort(function ($a, $b) {
43
+        return $this->usort(function($a, $b) {
44 44
             /*if (!isset($a['date'])) {
45 45
                 return -1;
46 46
             }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function sortByTitle(): self
64 64
     {
65
-        return $this->usort(function ($a, $b) {
65
+        return $this->usort(function($a, $b) {
66 66
             return strnatcmp($a['title'], $b['title']);
67 67
         });
68 68
     }
Please login to merge, or discard this patch.