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 Laminas\Db\Adapter\Driver\Mysqli\Connection::__construct($connectionInfo) type declaration to respect FQCN references #232

Merged
merged 1 commit into from
Apr 11, 2022

Conversation

InvisibleSmiley
Copy link
Contributor

Currently, "mysqli" is interpreted as belonging to the class's namespace which leads to errors with static analysis (e.g. PHPStan) when passing a \mysqli object

Q A
Documentation yes
Bugfix yes
BC Break no
New Feature no
RFC no
QA no

Currently, "mysqli" is interpreted as belonging to the class's namespace which leads to errors with static analysis (e.g. PHPStan) when passing a \mysqli object
@Ocramius Ocramius changed the base branch from 2.14.x to 2.15.x April 11, 2022 13:24
@Ocramius Ocramius added this to the 2.15.0 milestone Apr 11, 2022
@Ocramius Ocramius self-assigned this Apr 11, 2022
@Ocramius Ocramius changed the title Fix $connectionInfo typehint Fix Laminas\Db\Adapter\Driver\Mysqli\Connection::__construct($connectionInfo) type declaration to respect FQCN references Apr 11, 2022
Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

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

@Ocramius Ocramius merged commit 1125ef2 into laminas:2.15.x Apr 11, 2022
@InvisibleSmiley InvisibleSmiley deleted the patch-1 branch April 12, 2022 07:34
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.

2 participants