diff --git a/src/Tokenizers/PHP.php b/src/Tokenizers/PHP.php index 60c89c4507..978e5e6e00 100644 --- a/src/Tokenizers/PHP.php +++ b/src/Tokenizers/PHP.php @@ -1899,6 +1899,8 @@ function return types. We want to keep the parenthesis map clean, T_NULLSAFE_OBJECT_OPERATOR => true, T_FUNCTION => true, T_CLASS => true, + T_INTERFACE => true, + T_TRAIT => true, T_EXTENDS => true, T_IMPLEMENTS => true, T_ATTRIBUTE => true,