Passed
Push — feature-family-log ( 655216...bb34f0 )
by Laurent
02:05
created
server/src/Administration/Domain/FamilyLog/Model/FamilyLog.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
         if (null !== $parent) {
38 38
             $this->parent = $parent;
39 39
             $this->parent->addChild($this);
40
-            $this->path = $parent->slug() . ':' . $label->slugify();
40
+            $this->path = $parent->slug().':'.$label->slugify();
41 41
             if (null !== $this->parent->parent) {
42
-                $this->path = $this->parent->parent->slug() . ':' . $this->parent->slug() . ':' . $label->slugify();
42
+                $this->path = $this->parent->parent->slug().':'.$this->parent->slug().':'.$label->slugify();
43 43
             }
44 44
         }
45 45
     }
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     private function hasChildren(self $familyLog): ?array
101 101
     {
102 102
         if (null !== $familyLog->children) {
103
-            return \array_map(static function (self $child) {
103
+            return \array_map(static function(self $child) {
104 104
                 return $child->label;
105 105
             }, $familyLog->children);
106 106
         }
Please login to merge, or discard this patch.