decl_var: fix fqn
authorMichael Wallner <mike@php.net>
Fri, 13 Oct 2017 08:12:22 +0000 (10:12 +0200)
committerMichael Wallner <mike@php.net>
Fri, 13 Oct 2017 08:12:22 +0000 (10:12 +0200)
src/types/decl_var.c

index 236ccfc..680d7a1 100644 (file)
@@ -93,10 +93,6 @@ bool psi_decl_var_validate(struct psi_data *data, struct psi_decl_var *dvar,
        struct psi_let_exp *current_let_exp = let_exp;
        struct psi_set_exp *current_set_exp = set_exp;
 
-       if (dvar->arg) {
-               return true;
-       }
-
        if (current_let_exp) {
                /* walk up the let expression tree until found */
                while ((current_let_exp = current_let_exp->outer)) {