From: Roan Kattouw Date: Tue, 13 Sep 2011 20:15:00 +0000 (+0000) Subject: Document the fact that some ResourceLoaderContext methods may return null X-Git-Tag: 1.31.0-rc.0~27692 X-Git-Url: http://git.cyclocoop.org/%40spipnet%40?a=commitdiff_plain;h=bcf236eddb1b6aff9ae4325eb3574275895b4a7c;p=lhc%2Fweb%2Fwiklou.git Document the fact that some ResourceLoaderContext methods may return null --- diff --git a/includes/resourceloader/ResourceLoaderContext.php b/includes/resourceloader/ResourceLoaderContext.php index 3d42a4d1f2..b7312e00b2 100644 --- a/includes/resourceloader/ResourceLoaderContext.php +++ b/includes/resourceloader/ResourceLoaderContext.php @@ -155,14 +155,14 @@ class ResourceLoaderContext { } /** - * @return string + * @return string|null */ public function getSkin() { return $this->skin; } /** - * @return string + * @return string|null */ public function getUser() { return $this->user; @@ -176,14 +176,14 @@ class ResourceLoaderContext { } /** - * @return String + * @return String|null */ public function getOnly() { return $this->only; } /** - * @return String + * @return String|null */ public function getVersion() { return $this->version;