Skip to content

Commit c9ae357

Browse files
committed
refactor: remove unneeded return
1 parent 7a4e64d commit c9ae357

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/JsonSchemaTestSuiteTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,13 @@ public function testTestCaseValidatesCorrectly(
3939
} catch (\Exception $e) {
4040
if ($optional) {
4141
$this->markTestSkipped('Optional test case would during validate() invocation');
42-
return;
4342
}
4443

4544
throw $e;
4645
}
4746

4847
if ($optional && $expectedValidationResult !== (count($validator->getErrors()) === 0)) {
4948
$this->markTestSkipped('Optional test case would fail');
50-
return;
5149
}
5250

5351
self::assertEquals($expectedValidationResult, count($validator->getErrors()) === 0);

0 commit comments

Comments
 (0)