Passed
Push — feature-family-log ( 455fa6...893bac )
by Laurent
01:43
created
server/src/Administration/Domain/FamilyLog/Model/FamilyLog.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()) {
Please login to merge, or discard this patch.