@@ -25,7 +25,7 @@ |
||
25 | 25 | $generatedPages = new PagesCollection(); |
26 | 26 | |
27 | 27 | if (!$pagesCollection->has('index')) { |
28 | - $filteredPages = $pagesCollection->filter(function (Page $page) { |
|
28 | + $filteredPages = $pagesCollection->filter(function(Page $page) { |
|
29 | 29 | return ($page->getType() === null || $page->getType() === TYPE::PAGE) |
30 | 30 | && $page->getSection() == $this->config->get('site.paginate.homepage.section') |
31 | 31 | && !empty($page->getBody()); |