* of a specific loader request
*/
class ResourceLoaderContext {
-
/* Protected Members */
protected $resourceLoader;
/* Methods */
/**
- * @param $resourceLoader ResourceLoader
- * @param $request WebRequest
+ * @param ResourceLoader $resourceLoader
+ * @param WebRequest $request
*/
public function __construct( $resourceLoader, WebRequest $request ) {
global $wgDefaultSkin, $wgResourceLoaderDebug;
* an array of module names like array( 'jquery.foo', 'jquery.bar',
* 'jquery.ui.baz', 'jquery.ui.quux' )
* @param string $modules Packed module name list
- * @return array of module names
+ * @return array Array of module names
*/
public static function expandModuleNames( $modules ) {
$retval = array();
}
/**
- * Return a dummy ResourceLoaderContext object suitable for passing into things that don't "really" need a context
+ * Return a dummy ResourceLoaderContext object suitable for passing into
+ * things that don't "really" need a context.
* @return ResourceLoaderContext
*/
public static function newDummyContext() {
}
/**
- * @return String|null
+ * @return string|null
*/
public function getOnly() {
return $this->only;
}
/**
- * @return String|null
+ * @return string|null
*/
public function getVersion() {
return $this->version;