Commit 8f2db0b0 authored by Alessandro Minoccheri's avatar Alessandro Minoccheri

use newer PHP syntax

parent 436179f0
......@@ -61,8 +61,7 @@ class Configuration
*/
public function getSQLLogger()
{
return isset($this->_attributes['sqlLogger']) ?
$this->_attributes['sqlLogger'] : null;
return $this->_attributes['sqlLogger'] ?? null;
}
/**
......@@ -72,8 +71,7 @@ class Configuration
*/
public function getResultCacheImpl()
{
return isset($this->_attributes['resultCacheImpl']) ?
$this->_attributes['resultCacheImpl'] : null;
return $this->_attributes['resultCacheImpl'] ?? null;
}
/**
......
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