Skip to content

Add callable type hinting to Connection callback - #1659

Merged
ruflin merged 1 commit into
ruflin:masterfrom
franmomu:add_type_hinting_to_connection
Sep 5, 2019
Merged

ruflin merged 1 commit into
ruflin:masterfrom
franmomu:add_type_hinting_to_connection

Conversation

@franmomu

@franmomu franmomu commented Sep 2, 2019

Copy link
Copy Markdown
Contributor

The $callback parameter is only used in ConnectionPool which already has the type hint.

@ruflin

ruflin commented Sep 3, 2019

Copy link
Copy Markdown
Owner

Code LGTM to me. Could you add a changelog entry just in case someone was using this in an unexpected way?

@franmomu
franmomu force-pushed the add_type_hinting_to_connection branch from d5bd28e to e2077b1 Compare September 3, 2019 20:06
@franmomu

franmomu commented Sep 3, 2019

Copy link
Copy Markdown
Contributor Author

Sure!

@ruflin
ruflin merged commit 838160b into ruflin:master Sep 5, 2019
@ruflin

ruflin commented Sep 5, 2019

Copy link
Copy Markdown
Owner

@franmomu Thanks for the contribution.

@franmomu
franmomu deleted the add_type_hinting_to_connection branch September 5, 2019 08:03
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.

2 participants