mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing [Only variable references should be returned by reference]
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4778 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
08526db3f4
commit
1c6c32981e
2 changed files with 25 additions and 24 deletions
|
@ -198,7 +198,8 @@ class ConnectionManager extends Object {
|
|||
$_this =& ConnectionManager::getInstance();
|
||||
|
||||
if (empty($name) || empty($config) || array_key_exists($name, $_this->_connectionsEnum)) {
|
||||
return null;
|
||||
$null = null;
|
||||
return $null;
|
||||
}
|
||||
|
||||
$_this->config->{$name} = $config;
|
||||
|
|
Loading…
Reference in a new issue