Passed
Push — master ( 631917...836cdc )
by kouinkouin
30s
created
src/StreetParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
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++;
Please login to merge, or discard this patch.
src/Street.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.