@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | public function childrenArrayLabels(self $familyLog): ?array |
| 88 | 88 | { |
| 89 | 89 | if (null !== $familyLog->children) { |
| 90 | - return \array_map(static function (self $child) { |
|
| 90 | + return \array_map(static function(self $child) { |
|
| 91 | 91 | return $child->label; |
| 92 | 92 | }, $familyLog->children); |
| 93 | 93 | } |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | $this->level = 1; |
| 137 | 137 | if (null !== $parent) { |
| 138 | 138 | $this->parent->addChild($this); |
| 139 | - $this->path = $parent->path() . '/' . $this->slug(); |
|
| 139 | + $this->path = $parent->path().'/'.$this->slug(); |
|
| 140 | 140 | $this->level = $parent->level + 1; |
| 141 | 141 | } |
| 142 | 142 | if ($this->hasChildren()) { |