The expression return self::isEnabled could return the type null which is incompatible with the type-hinted return boolean. Consider adding an additional type-check to rule them out.
Loading history...
42
}
43
44
public static function isEnabledFromCacheConfig(CacheConfigurationInterface $cacheConfig): bool
The expression return self::isEnabled could return the type null which is incompatible with the type-hinted return boolean. Consider adding an additional type-check to rule them out.