mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Switch out is_null()
This commit is contained in:
parent
1b33efaad3
commit
dc856b8508
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ class DboSource extends DataSource {
|
|||
* @return bool True if the database is connected, else false
|
||||
*/
|
||||
public function isConnected() {
|
||||
if (is_null($this->_connection)) {
|
||||
if ($this->_connection === null) {
|
||||
$connected = false;
|
||||
} else {
|
||||
try {
|
||||
|
|
Loading…
Add table
Reference in a new issue