Skip to content
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

adjust to promise template annotations #173

Closed
wants to merge 1 commit into from
Closed

adjust to promise template annotations #173

wants to merge 1 commit into from

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Jan 3, 2024

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Related tickets php-http/promise#32
Documentation -
License MIT

What's in this PR?

declare the type of promise we use

Why?

strict typing with phpstan.

To Do

@@ -20,7 +20,7 @@
],
"require": {
"php": "^7.1 || ^8.0",
"php-http/promise": "^1.1",
"php-http/promise": "dev-template-exception as 1.2.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"php-http/promise": "dev-template-exception as 1.2.2",
"php-http/promise": "^1.2.2",

@dbu dbu force-pushed the promise-template branch 3 times, most recently from 7122f7e to 2acae1a Compare January 3, 2024 18:09
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.

None yet

1 participant