From: addshore Date: Fri, 7 Mar 2014 19:13:43 +0000 (+0100) Subject: Fix phpdoc of class vars in ResourceLoader X-Git-Tag: 1.31.0-rc.0~16688^2 X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dcompta/operations/modifier.php?a=commitdiff_plain;h=23ce808b307f555039f8dd675a1412b614350a50;p=lhc%2Fweb%2Fwiklou.git Fix phpdoc of class vars in ResourceLoader Change-Id: Iced0b17d0c964f3d137b6714946577c7d1a24e30 --- diff --git a/includes/resourceloader/ResourceLoader.php b/includes/resourceloader/ResourceLoader.php index 1ccc9cd7d1..12c452afbc 100644 --- a/includes/resourceloader/ResourceLoader.php +++ b/includes/resourceloader/ResourceLoader.php @@ -25,33 +25,46 @@ /** * Dynamic JavaScript and CSS resource loading system. * - * Most of the documention is on the MediaWiki documentation wiki starting at: + * Most of the documentation is on the MediaWiki documentation wiki starting at: * https://www.mediawiki.org/wiki/ResourceLoader */ class ResourceLoader { - /* Protected Static Members */ + /** + * @var int + */ protected static $filterCacheVersion = 7; + /** + * @var array + */ protected static $requiredSourceProperties = array( 'loadScript' ); - /** Array: List of module name/ResourceLoaderModule object pairs */ + /** + * @var array Module name/ResourceLoaderModule object pairs + */ protected $modules = array(); - /** Associative array mapping module name to info associative array */ + /** + * @var array Associative array mapping module name to info associative array + */ protected $moduleInfos = array(); - /** Associative array mapping framework ids to a list of names of test suite modules */ - /** like array( 'qunit' => array( 'mediawiki.tests.qunit.suites', 'ext.foo.tests', .. ), .. ) */ + /** + * @var array Associative array mapping framework ids to a list of names of test suite modules + * like array( 'qunit' => array( 'mediawiki.tests.qunit.suites', 'ext.foo.tests', .. ), .. ) + */ protected $testModuleNames = array(); - /** array( 'source-id' => array( 'loadScript' => 'http://.../load.php' ) ) **/ + /** + * @var array e.g. array( 'source-id' => array( 'loadScript' => 'http://.../load.php' ) ) + */ protected $sources = array(); - /** @var bool */ + /** + * @var bool + */ protected $hasErrors = false; - /* Protected Methods */ - /** * Load information stored in the database about modules. *