Passed
Push — nested-sections-2025 ( 6db02a )
by Arnaud
05:47
created
src/Collection/Page/Page.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -374,7 +374,7 @@
 block discarded – undo
374 374
         }
375 375
 
376 376
         // set/update folder and slug
377
-        $this->folder = substr($this->path, 0, $lastslash);                          // eg: "blog/post", folder = "blog"
377
+        $this->folder = substr($this->path, 0, $lastslash); // eg: "blog/post", folder = "blog"
378 378
         $this->slug = substr($this->path, -(\strlen($this->path) - $lastslash - 1)); // eg: "blog/post", slug = "post"
379 379
 
380 380
         return $this;
Please login to merge, or discard this patch.