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

Fix ConnectionInterface return type hint in Factory #93

Merged
merged 1 commit into from
Feb 4, 2019

Conversation

clue
Copy link
Contributor

@clue clue commented Feb 4, 2019

The Factory class uses a socket connection in order to create the
underlying database connection, but returns a higher-level MySQL
connection interface from its local namespace. By using an aliased
import, we no longer "overwrite" the local reference and fix IDE
autocompletion and static analysis tools.

The Factory class uses a socket connection in order to create the
underlying database connection, but returns a higher-level MySQL
connection interface from its local namespace. By using an aliased
import, we no longer "overwrite" the local reference and fix IDE
autocompletion and static analysis tools.
@clue clue added this to the v0.5.2 milestone Feb 4, 2019
@clue clue requested review from jsor and WyriHaximus February 4, 2019 19:04
@WyriHaximus WyriHaximus merged commit c5ac28b into friends-of-reactphp:master Feb 4, 2019
@clue clue deleted the right-connection branch February 5, 2019 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants