Connection::connect
triggers deprecation when connect
is called from protected scope
#6442
Labels
Connection::connect
triggers deprecation when connect
is called from protected scope
#6442
Bug Report
Summary
Class
Connection
is not final and methodconnect()
is public in 3.8 and protected in 4.0.I extend Connection class and call
parent::connect()
. This will still be a valid call in 4.0.Right now I have my logs flooded with the message
User Deprecated: Public access to Connection::connect() is deprecated.
.Current behaviour
How to reproduce
Expected behaviour
Do not trigger deprecation when called from protected scope.
The text was updated successfully, but these errors were encountered: