File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66/**
77 * Class for situations where PHP code has fallen through a switch statement or a combination of if-elseif statements.
88 */
9- class FallenException extends RuntimeException
9+ class FallenException extends LogicException
1010{
1111 //--------------------------------------------------------------------------------------------------------------------
1212 /**
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function testName(): void
2323 {
2424 self ::assertStringContainsString ('foo ' , $ e ->getMessage ());
2525 self ::assertStringContainsString ('bar ' , $ e ->getMessage ());
26- self ::assertInstanceOf (\RuntimeException ::class, $ e );
26+ self ::assertInstanceOf (\LogicException ::class, $ e );
2727 }
2828 }
2929
You can’t perform that action at this time.
0 commit comments