@@ -37,11 +37,11 @@ discard block |
||
| 37 | 37 | ); |
| 38 | 38 | $this->assertEquals(3, count($phoneNumberCollection)); |
| 39 | 39 | |
| 40 | - for($i = 0; $i < 3; $i++) { |
|
| 40 | + for ($i = 0; $i < 3; $i++) { |
|
| 41 | 41 | $this->assertEquals($phoneNumberArray[$i], $phoneNumberCollection[$i]); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - foreach($phoneNumberCollection as $key => $phoneNumber) { |
|
| 44 | + foreach ($phoneNumberCollection as $key => $phoneNumber) { |
|
| 45 | 45 | $this->assertInstanceOf(PhoneNumber::class, $phoneNumber); |
| 46 | 46 | } |
| 47 | 47 | } |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | public function testGivenAnInvalidValueItThrowsAnException(): void |
| 63 | 63 | { |
| 64 | 64 | $this->expectException(\InvalidArgumentException::class); |
| 65 | - $this->expectExceptionMessage("Provided value is not a valid " . PhoneNumber::class); |
|
| 65 | + $this->expectExceptionMessage("Provided value is not a valid ".PhoneNumber::class); |
|
| 66 | 66 | |
| 67 | 67 | $phoneNumber1 = new \stdClass(); |
| 68 | 68 | |