Commit ec2ae937 authored by Marco Pivetta's avatar Marco Pivetta Committed by GitHub

Merge pull request #2857 from AlessandroMinoccheri/use_newer_PHP_syntax_complete

use newer PHP syntax
parents be3478e9 8f2db0b0
......@@ -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