Completed
Push — feature-output-formats ( a13454...2db023 )
by Arnaud
02:07
created
src/Collection/Page/Collection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function sortByDate(): self
24 24
     {
25
-        return $this->usort(function ($a, $b) {
25
+        return $this->usort(function($a, $b) {
26 26
             if (!isset($a['date'])) {
27 27
                 return -1;
28 28
             }
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function sortByTitle(): self
46 46
     {
47
-        return $this->usort(function ($a, $b) {
47
+        return $this->usort(function($a, $b) {
48 48
             return strnatcmp($a['title'], $b['title']);
49 49
         });
50 50
     }
Please login to merge, or discard this patch.