1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Add fallthrough comment

This commit is contained in:
Brown 2020-02-26 17:07:21 -05:00
parent 548d9fca2c
commit 8a7feb5948

View File

@ -497,6 +497,8 @@ class ParseTree
break;
}
// falling through for methods named 'as'
default:
$new_parent = !$current_leaf instanceof ParseTree\Root ? $current_leaf : null;