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 6
6
/**
7
7
* Class for situations where PHP code has fallen through a switch statement or a combination of if-elseif statements.
8
8
*/
9
- class FallenException extends RuntimeException
9
+ class FallenException extends LogicException
10
10
{
11
11
//--------------------------------------------------------------------------------------------------------------------
12
12
/**
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function testName(): void
23
23
{
24
24
self ::assertStringContainsString ('foo ' , $ e ->getMessage ());
25
25
self ::assertStringContainsString ('bar ' , $ e ->getMessage ());
26
- self ::assertInstanceOf (\RuntimeException ::class, $ e );
26
+ self ::assertInstanceOf (\LogicException ::class, $ e );
27
27
}
28
28
}
29
29
You can’t perform that action at this time.
0 commit comments