We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently, I have to suppress a bunch of warnings related to phpstan/psalm when doing something like
return (new Document()) ->heading(2) ->text('Alfred') ->end() ->bulletlist() // <--- it breaks here ->item() ->paragraph() ->text('Some text.') ->end() ->end() ->end();
because the return type of ->end() is ?self aka a nullable Node.
->end()
?self
But e.g. bulletlist() only exists on one of these classes:
bulletlist()
This causes the effect, that after the first end() call no further auto-completion is present as well.
end()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently, I have to suppress a bunch of warnings related to phpstan/psalm when doing something like
because the return type of
->end()
is?self
aka a nullable Node.But e.g.
bulletlist()
only exists on one of these classes:This causes the effect, that after the first
end()
call no further auto-completion is present as well.The text was updated successfully, but these errors were encountered: