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
I have stumbled over @psalm-yield in 3rd party code. There's no mention of it in docs though I have found some traces in source code in this repo.
@psalm-yield
Edit: just found this, o'lol
psalm/tests/DocumentationTest.php
Lines 60 to 74 in fc29d26
The text was updated successfully, but these errors were encountered:
Is it bad that I have no idea what the majority of those does either? :D
Sorry, something went wrong.
If anyone use those, please help the project and add some docs :)
@yield
@generator-return
@scope-this
$this
@consistent-constructor
@stub-override
I found these snippets:
<?php class C { /** @var int */ private $prop = 1; public function do(Closure $c): void { $c->call($this); } } function f(): int { /** @psalm-scope-this C */ return $this->prop; };
Psalm output (using commit b8a2ba2): No issues!
Successfully merging a pull request may close this issue.
I have stumbled over
@psalm-yield
in 3rd party code. There's no mention of it in docs though I have found some traces in source code in this repo.Edit: just found this, o'lol
psalm/tests/DocumentationTest.php
Lines 60 to 74 in fc29d26
The text was updated successfully, but these errors were encountered: