mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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
|
* @return bool True if the database is connected, else false
|
||||||
*/
|
*/
|
||||||
public function isConnected() {
|
public function isConnected() {
|
||||||
if (is_null($this->_connection)) {
|
if ($this->_connection === null) {
|
||||||
$connected = false;
|
$connected = false;
|
||||||
} else {
|
} else {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue