mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #2142 from bcrowe/hotfix-strictNull
Change is_null() calls to strict checks
This commit is contained in:
commit
ff0b963941
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@ class CakeSchema extends Object {
|
|||
continue;
|
||||
}
|
||||
$correspondingValue = $array2[$key];
|
||||
if (is_null($value) !== is_null($correspondingValue)) {
|
||||
if (($value === null ) !== ($correspondingValue === null)) {
|
||||
$difference[$key] = $value;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue