@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function generate(): void |
| 23 | 23 | { |
| 24 | - $filteredPages = $this->pagesCollection->filter(function (Page $page) { |
|
| 24 | + $filteredPages = $this->pagesCollection->filter(function(Page $page) { |
|
| 25 | 25 | return null !== $page->getVariable('title'); |
| 26 | 26 | }); |
| 27 | 27 | |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $paginationSections = $this->config->get('site.pagination.sections'); |
| 35 | 35 | |
| 36 | 36 | // filter pages: home and sections |
| 37 | - $filteredPages = $this->pagesCollection->filter(function (Page $page) { |
|
| 37 | + $filteredPages = $this->pagesCollection->filter(function(Page $page) { |
|
| 38 | 38 | return in_array($page->getType(), [Type::HOMEPAGE, Type::SECTION]); |
| 39 | 39 | }); |
| 40 | 40 | /* @var $page Page */ |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | public function generate(): void |
| 23 | 23 | { |
| 24 | - $filteredPages = $this->pagesCollection->filter(function (Page $page) { |
|
| 24 | + $filteredPages = $this->pagesCollection->filter(function(Page $page) { |
|
| 25 | 25 | return null !== $page->getVariable('redirect') |
| 26 | 26 | && $page->getVariable('layout') != 'redirect'; |
| 27 | 27 | }); |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | */ |
| 23 | 23 | public function generate(): void |
| 24 | 24 | { |
| 25 | - $filteredPages = $this->pagesCollection->filter(function (Page $page) { |
|
| 25 | + $filteredPages = $this->pagesCollection->filter(function(Page $page) { |
|
| 26 | 26 | return null !== $page->getVariable('external'); |
| 27 | 27 | }); |
| 28 | 28 | |