Completed
Push — site-config ( 91641c )
by Arnaud
01:42
created
src/Renderer/Site.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,6 @@
 block discarded – undo
34 34
     /**
35 35
      * Site constructor.
36 36
      *
37
-     * @param Config $config
38 37
      */
39 38
     public function __construct(Builder $builder)
40 39
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     }
58 58
 
59 59
     public function getPages() {
60
-        return $this->builder->getPages()->filter(function (Page $page) {
60
+        return $this->builder->getPages()->filter(function(Page $page) {
61 61
             return $page->getVariable('published');
62 62
         });
63 63
     }
Please login to merge, or discard this patch.
src/Step/PagesRender.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
 
54 54
         // collect published pages
55 55
         /* @var $page Page */
56
-        $filteredPages = $this->builder->getPages()->filter(function (Page $page) {
56
+        $filteredPages = $this->builder->getPages()->filter(function(Page $page) {
57 57
             return !empty($page->getVariable('published'));
58 58
         });
59 59
         $max = count($filteredPages);
Please login to merge, or discard this patch.