@@ -76,7 +76,7 @@ |
||
76 | 76 | $score = 0; |
77 | 77 | |
78 | 78 | foreach (['name', 'number', 'box'] as $streetItem) { |
79 | - $setter = 'set' . ucfirst($streetItem); |
|
79 | + $setter = 'set'.ucfirst($streetItem); |
|
80 | 80 | if (isset($matches[$regexLine[$streetItem]])) { |
81 | 81 | $result->$setter($matches[$regexLine[$streetItem]]); |
82 | 82 | $score++; |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | |
16 | 16 | public function getName(): string |
17 | 17 | { |
18 | - return (string)$this->name; |
|
18 | + return (string) $this->name; |
|
19 | 19 | } |
20 | 20 | |
21 | 21 | public function setName(string $name): self |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | |
28 | 28 | public function getNumber(): string |
29 | 29 | { |
30 | - return (string)$this->number; |
|
30 | + return (string) $this->number; |
|
31 | 31 | } |
32 | 32 | |
33 | 33 | public function setNumber(string $number): self |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | public function getBox(): string |
41 | 41 | { |
42 | - return (string)$this->box; |
|
42 | + return (string) $this->box; |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | public function setBox(string $box): self |