X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fresourceloader%2FDerivativeResourceLoaderContext.php;h=d84a92a9142e4fa3e9ab3dad63a27c0b948f5109;hb=a253c6d56cfa524f52379b8bf79bd4cd40143285;hp=cf0b3c275a32a8243220f19f18567564c8a75737;hpb=fb3428eb8f16235269fb34a98fab664c3732cba2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/resourceloader/DerivativeResourceLoaderContext.php b/includes/resourceloader/DerivativeResourceLoaderContext.php index cf0b3c275a..d84a92a914 100644 --- a/includes/resourceloader/DerivativeResourceLoaderContext.php +++ b/includes/resourceloader/DerivativeResourceLoaderContext.php @@ -35,6 +35,7 @@ class DerivativeResourceLoaderContext extends ResourceLoaderContext { */ private $context; + /** @var int|array */ protected $modules = self::INHERIT_VALUE; protected $language = self::INHERIT_VALUE; protected $direction = self::INHERIT_VALUE; @@ -54,7 +55,7 @@ class DerivativeResourceLoaderContext extends ResourceLoaderContext { if ( $this->modules === self::INHERIT_VALUE ) { return $this->context->getModules(); } - // @phan-suppress-next-line PhanTypeMismatchReturn + return $this->modules; }