@@ -24,7 +24,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 | } |