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

use newer PHP syntax

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