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

BaseConnection - Nullable return type in getConnectStart() #2504

Merged

Conversation

najdanovicivan
Copy link
Contributor

Description
Make the method allowed to return null value so that Debug Toolbar does not crash if there were no queries executed on connection.

Ref #2158

Checklist:

  • Securely signed commits
  • Component(s) with PHPdocs
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

Make the method allowed to return null value so that Debug Toolbar does not crash if there were no queries executed on connection.
@lonnieezell lonnieezell merged commit 39e4e09 into codeigniter4:develop Jan 22, 2020
@najdanovicivan najdanovicivan deleted the fix-connection-start branch January 22, 2020 20:38
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