-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
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
IBX-4929: Fixed PHPDoc(s) referencing static<TValue>
return type
#216
Conversation
Unable to parse file "vendor/ibexa/core/src/contracts/Collection/AbstractInMemoryCollection.php", an error was detected: static is not a collection
`static<TValue>` is used by static analysis tool. `@return self` is not necessary.
@adriendupuis any reason this PR is a draft? Drafts are per definition not ready for review and impossible technically to merge. |
@alongosz The only reason was that I didn't have reached the bottom of the log yet. |
Kudos, SonarCloud Quality Gate passed!
|
static<TValue>
return type
Thank you @adriendupuis |
v4.4.1
From phpDocumentor v3.3.1:
Unable to parse file "vendor/ibexa/core/src/contracts/Collection/AbstractInMemoryCollection.php", an error was detected: static is not a collection
Unable to parse file "vendor/ibexa/core/src/contracts/Collection/StreamableInterface.php", an error was detected: static is not a collection
Use
@phpstan-return static<TValue>
instead of@return static<TValue>
Checklist:
$ composer fix-cs
).@ibexa/engineering
).