You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All classes in Protocol/Smtp/Auth have less strict signature than parent class without profiting from it.
Current behavior
Current signature is public function __construct($host = '127.0.0.1', $port = null, $config = null) while Protocol/Smtp has the signature public function __construct($host = '127.0.0.1', $port = null, array $config = null).
As the original parameter is passed on as is to the parent class, $config should also be forced to be of type array to match and enforce correctness.
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
All classes in Protocol/Smtp/Auth have less strict signature than parent class without profiting from it.
Current behavior
Current signature is
public function __construct($host = '127.0.0.1', $port = null, $config = null)
while Protocol/Smtp has the signaturepublic function __construct($host = '127.0.0.1', $port = null, array $config = null)
.As the original parameter is passed on as is to the parent class, $config should also be forced to be of type array to match and enforce correctness.
The text was updated successfully, but these errors were encountered: