@@ -65,7 +65,7 @@ |
||
| 65 | 65 | public function testGivenAnInvalidValueItThrowsAnException(): void |
| 66 | 66 | { |
| 67 | 67 | $this->expectException(InvalidArgumentException::class); |
| 68 | - $this->expectExceptionMessage("Provided value is not a valid " . Id::class); |
|
| 68 | + $this->expectExceptionMessage("Provided value is not a valid ".Id::class); |
|
| 69 | 69 | |
| 70 | 70 | $id1 = new stdClass(); |
| 71 | 71 | |
@@ -38,11 +38,11 @@ discard block |
||
| 38 | 38 | ); |
| 39 | 39 | $this->assertEquals(3, count($coordinatesCollection)); |
| 40 | 40 | |
| 41 | - for($i = 0; $i < 3; $i++) { |
|
| 41 | + for ($i = 0; $i < 3; $i++) { |
|
| 42 | 42 | $this->assertEquals($coordinatesArray[$i], $coordinatesCollection[$i]); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | - foreach($coordinatesCollection as $key => $coordinates) { |
|
| 45 | + foreach ($coordinatesCollection as $key => $coordinates) { |
|
| 46 | 46 | $this->assertInstanceOf(Coordinates::class, $coordinates); |
| 47 | 47 | } |
| 48 | 48 | } |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | public function testGivenAnInvalidValueItThrowsAnException(): void |
| 64 | 64 | { |
| 65 | 65 | $this->expectException(\InvalidArgumentException::class); |
| 66 | - $this->expectExceptionMessage("Provided value is not a valid " . Coordinates::class); |
|
| 66 | + $this->expectExceptionMessage("Provided value is not a valid ".Coordinates::class); |
|
| 67 | 67 | |
| 68 | 68 | $coordinates1 = new \stdClass(); |
| 69 | 69 | |