mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-03-20 08:29:55 +00:00
Merge pull request #2180 from bcrowe/hotfix-strict
Strict null check on group parameter
This commit is contained in:
commit
bd4aff13ee
1 changed files with 1 additions and 1 deletions
|
@ -533,7 +533,7 @@ class Cache {
|
||||||
* @throws CacheException
|
* @throws CacheException
|
||||||
*/
|
*/
|
||||||
public static function groupConfigs($group = null) {
|
public static function groupConfigs($group = null) {
|
||||||
if ($group == null) {
|
if ($group === null) {
|
||||||
return self::$_groups;
|
return self::$_groups;
|
||||||
}
|
}
|
||||||
if (isset(self::$_groups[$group])) {
|
if (isset(self::$_groups[$group])) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue