@@ -47,11 +47,11 @@ |
||
| 47 | 47 | |
| 48 | 48 | public function equals(Email $anEmail) |
| 49 | 49 | { |
| 50 | - return strtolower((string)$this) === strtolower((string)$anEmail); |
|
| 50 | + return strtolower((string) $this) === strtolower((string) $anEmail); |
|
| 51 | 51 | } |
| 52 | 52 | |
| 53 | 53 | public function __toString() |
| 54 | 54 | { |
| 55 | - return (string)$this->email; |
|
| 55 | + return (string) $this->email; |
|
| 56 | 56 | } |
| 57 | 57 | } |
@@ -25,12 +25,12 @@ |
||
| 25 | 25 | |
| 26 | 26 | public function equals(Phone $phone) |
| 27 | 27 | { |
| 28 | - return strtolower((string)$this) === strtolower((string)$phone); |
|
| 28 | + return strtolower((string) $this) === strtolower((string) $phone); |
|
| 29 | 29 | } |
| 30 | 30 | |
| 31 | 31 | public function __toString() |
| 32 | 32 | { |
| 33 | - return (string)$this->phone; |
|
| 33 | + return (string) $this->phone; |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | private function cleanPhone($phone) |