@@ -35,6 +35,6 @@ |
||
| 35 | 35 | |
| 36 | 36 | public function getValue(): string |
| 37 | 37 | { |
| 38 | - return $this->address . "\n" . $this->zipCode . ' ' . $this->town . ', ' . $this->country; |
|
| 38 | + return $this->address."\n".$this->zipCode.' '.$this->town.', '.$this->country; |
|
| 39 | 39 | } |
| 40 | 40 | } |
@@ -34,9 +34,9 @@ discard block |
||
| 34 | 34 | if (null !== $parent) { |
| 35 | 35 | $this->parent = $parent; |
| 36 | 36 | $this->parent->addChild($this); |
| 37 | - $this->path = $parent->slug() . ':' . $name->slugify(); |
|
| 37 | + $this->path = $parent->slug().':'.$name->slugify(); |
|
| 38 | 38 | if (null !== $this->parent->parent) { |
| 39 | - $this->path = $this->parent->parent->slug() . ':' . $this->parent->slug() . ':' . $name->slugify(); |
|
| 39 | + $this->path = $this->parent->parent->slug().':'.$this->parent->slug().':'.$name->slugify(); |
|
| 40 | 40 | } |
| 41 | 41 | } |
| 42 | 42 | } |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | private function hasChildren(self $familyLog): ?array |
| 83 | 83 | { |
| 84 | 84 | if (null !== $familyLog->children) { |
| 85 | - return \array_map(static function ($child) { |
|
| 85 | + return \array_map(static function($child) { |
|
| 86 | 86 | return $child->name; |
| 87 | 87 | }, $familyLog->children); |
| 88 | 88 | } |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | public static function fromPercent(string $name): self |
| 44 | 44 | { |
| 45 | 45 | \preg_match('/^(\d*)(,(\d*?)) %$/u', \trim($name), $str); |
| 46 | - $float = $str[1] . '.' . $str[3]; |
|
| 46 | + $float = $str[1].'.'.$str[3]; |
|
| 47 | 47 | |
| 48 | 48 | return new self((float) $float); |
| 49 | 49 | } |