Passed
Push — analysis-J205gQ ( b61c21 )
by Arnaud
05:43 queued 11s
created
src/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
     public function setMessageCallback(\Closure $messageCallback = null)
313 313
     {
314 314
         if ($messageCallback === null) {
315
-            $messageCallback = function ($code, $message = '', $itemsCount = 0, $itemsMax = 0) {
315
+            $messageCallback = function($code, $message = '', $itemsCount = 0, $itemsMax = 0) {
316 316
                 switch ($code) {
317 317
                     case 'CONFIG':
318 318
                     case 'LOCATE':
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
     public function getLog(int $type = 0): ?array
417 417
     {
418 418
         if (is_array($this->log)) {
419
-            return array_filter($this->log, function ($key) use ($type) {
419
+            return array_filter($this->log, function($key) use ($type) {
420 420
                 return $key['type'] <= $type;
421 421
             });
422 422
         }
Please login to merge, or discard this patch.
src/Renderer/Site.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
      */
112 112
     public function getPages(): \Cecil\Collection\Page\Collection
113 113
     {
114
-        return $this->builder->getPages()->filter(function (Page $page) {
114
+        return $this->builder->getPages()->filter(function(Page $page) {
115 115
             return $page->getVariable('published');
116 116
         });
117 117
     }
Please login to merge, or discard this patch.