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