@@ -37,9 +37,9 @@ discard block |
||
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 |
||
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 | } |