Skip to content

Commit b1ead38

Browse files
authored
Fix return
1 parent 1c0bf27 commit b1ead38

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/parser/function.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,9 +266,8 @@ module.exports = {
266266
} else if (this.token === this.tok.T_PRIVATE) {
267267
this.next();
268268
return MODIFIER_PRIVATE;
269-
} else {
270-
0;
271-
}
269+
}
270+
return 0;
272271
},
273272
/**
274273
* Reads a list of arguments

0 commit comments

Comments
 (0)