File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1111
1212class CautionWithCatchesTest extends WorkshopExerciseTest
1313{
14-
1514 public function getExerciseClass (): string
1615 {
1716 return CautionWithCatches::class;
@@ -22,7 +21,7 @@ public function getApplication(): Application
2221 return require __DIR__ . '/../../app/bootstrap.php ' ;
2322 }
2423
25- public function testFailureWhenNoTryCatch ()
24+ public function testFailureWhenNoTryCatch (): void
2625 {
2726 $ this ->runExercise ('no-try-catch.php ' );
2827
@@ -31,7 +30,7 @@ public function testFailureWhenNoTryCatch()
3130 $ this ->assertResultsHasFailure (Failure::class, 'No try/catch statement was found ' );
3231 }
3332
34- public function testFailureWhenCapturingException ()
33+ public function testFailureWhenCapturingException (): void
3534 {
3635 $ this ->runExercise ('captures-exception.php ' );
3736
@@ -40,7 +39,7 @@ public function testFailureWhenCapturingException()
4039 $ this ->assertResultsHasFailure (Failure::class, 'Exception variable was captured ' );
4140 }
4241
43- public function testSuccessfulSolution ()
42+ public function testSuccessfulSolution (): void
4443 {
4544 $ this ->runExercise ('solution.php ' );
4645
You can’t perform that action at this time.
0 commit comments