Unverified Commit ac0c12d5 authored by Benjamin Morel's avatar Benjamin Morel Committed by Sergei Morozov

Do not accept null in Configuration::setSQLLogger()

parent 2fb9115c
......@@ -25,11 +25,9 @@ class Configuration
protected $_attributes = [];
/**
* Sets the SQL logger to use. Defaults to NULL which means SQL logging is disabled.
*
* @return void
* Sets the SQL logger to use.
*/
public function setSQLLogger(?SQLLogger $logger = null)
public function setSQLLogger(?SQLLogger $logger) : void
{
$this->_attributes['sqlLogger'] = $logger;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment