Skip to content

revert generic annotations#33

Merged
dbu merged 1 commit into1.xfrom
phpdoc-revert
Jan 4, 2024
Merged

revert generic annotations#33
dbu merged 1 commit into1.xfrom
phpdoc-revert

Conversation

@dbu
Copy link
Contributor

@dbu dbu commented Jan 4, 2024

Q A
Bug fix? -
New feature? no
BC breaks? no
Deprecations? no
Related tickets -
Documentation -
License MIT

What's in this PR?

fix phpstan errors that we got from the incorrect generic annotations.

i spent half a day with #32 and php-http/httplug#173 trying to get the generic annotation to work correctly, but i think its not possible to properly to do it because Promise::then returns a new Promise, so this ends up being recursive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant