Improve @chainable detection from function body.
Ignore statements that don't contain a `return` statement. This means that now a function that contains just one `return this;` at the end of itself will be detected as chainable; given there's no other return statements anywhere in the function body.
Loading
Please register or sign in to comment