Skip to content

Fix return type for Connection::connect() in wrapper #2

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

Merged
merged 1 commit into from
Oct 23, 2019

Conversation

andrew-demb
Copy link
Collaborator

Method must return bool according to phpdoc in Doctrine\DBAL\Connection::connect()

@return bool TRUE if the connection was successfully established, FALSE if the connection is already open.

Missed return bool leads to type error while this package used with doctrine/migrations:^2

Method must return bool according to phpdoc in Doctrine\DBAL\Connection::connect()

> `@`return bool TRUE if the connection was successfully established, FALSE if the connection is already open.

Missed return bool leads to type error while this package used with doctrine/migrations:^2
@allflame allflame merged commit 7d504e9 into code-tool:1.0.x Oct 23, 2019
@andrew-demb andrew-demb deleted the patch-1 branch October 23, 2019 12:36
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