File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2806,7 +2806,7 @@ $echo = new Echo_([new String_('one')]);
28062806$tryStmts = [$echo];
28072807
28082808$echo2 = new Echo_([new String_('two')]);
2809- $catch = new Catch_([new FullyQualified('CaughtType ')], null, [$echo2]);
2809+ $catch = new Catch_([new FullyQualified('SomeType ')], null, [$echo2]);
28102810
28112811$echo3 = new Echo_([new String_('three')]);
28122812$finally = new Finally_([$echo3]);
@@ -2819,7 +2819,7 @@ return new TryCatch($tryStmts, [$catch]);
28192819``` php
28202820try {
28212821 echo 'one';
2822- } catch (\CatchedType ) {
2822+ } catch (\SomeType ) {
28232823 echo 'two';
28242824}
28252825```
Original file line number Diff line number Diff line change 1313$ tryStmts = [$ echo ];
1414
1515$ echo2 = new Echo_ ([new String_ ('two ' )]);
16- $ catch = new Catch_ ([new FullyQualified ('CaughtType ' )], null , [$ echo2 ]);
16+ $ catch = new Catch_ ([new FullyQualified ('SomeType ' )], null , [$ echo2 ]);
1717
1818$ echo3 = new Echo_ ([new String_ ('three ' )]);
1919$ finally = new Finally_ ([$ echo3 ]);
You can’t perform that action at this time.
0 commit comments