Suppress PhanParamSignatureRealMismatchParamType on classes affected by new RL namespace
There is an alias, so there shouldn't be a problem in production. Phan raises a spurious warning when the target version is PHP 7.2. Bug: T308443 Change-Id: I75f1a1bd113a18c40236bd622b0eb76743432ceb
This commit is contained in:
committed by
jenkins-bot
parent
28540535b3
commit
3524e733b9
@@ -20,6 +20,7 @@ class ResourceLoaderULSJsonMessageModule extends ResourceLoaderModule {
|
|||||||
/**
|
/**
|
||||||
* Part of the ResourceLoader module interface.
|
* Part of the ResourceLoader module interface.
|
||||||
* Declares the core ext.uls.i18n module as a dependency.
|
* Declares the core ext.uls.i18n module as a dependency.
|
||||||
|
* @suppress PhanParamSignatureRealMismatchParamType, UnusedSuppression -- T308443
|
||||||
* @param ResourceLoaderContext|null $context
|
* @param ResourceLoaderContext|null $context
|
||||||
* @return string[] Module names.
|
* @return string[] Module names.
|
||||||
*/
|
*/
|
||||||
@@ -36,6 +37,7 @@ class ResourceLoaderULSJsonMessageModule extends ResourceLoaderModule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @suppress PhanParamSignatureRealMismatchParamType, UnusedSuppression -- T308443
|
||||||
* @param ResourceLoaderContext $context
|
* @param ResourceLoaderContext $context
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
@@ -56,6 +58,7 @@ class ResourceLoaderULSJsonMessageModule extends ResourceLoaderModule {
|
|||||||
/**
|
/**
|
||||||
* Get the message strings for the current UI language. Uses
|
* Get the message strings for the current UI language. Uses
|
||||||
* mw.uls.loadLocalization to register them on the frontend.
|
* mw.uls.loadLocalization to register them on the frontend.
|
||||||
|
* @suppress PhanParamSignatureRealMismatchParamType, UnusedSuppression -- T308443
|
||||||
* @param ResourceLoaderContext $context
|
* @param ResourceLoaderContext $context
|
||||||
* @return string JavaScript code.
|
* @return string JavaScript code.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -48,6 +48,7 @@ class ResourceLoaderULSModule extends ResourceLoaderModule {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @suppress PhanParamSignatureRealMismatchParamType, UnusedSuppression -- T308443
|
||||||
* @param ResourceLoaderContext $context
|
* @param ResourceLoaderContext $context
|
||||||
* @return string JavaScript code
|
* @return string JavaScript code
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user