From bcf236eddb1b6aff9ae4325eb3574275895b4a7c Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Tue, 13 Sep 2011 20:15:00 +0000 Subject: [PATCH] Document the fact that some ResourceLoaderContext methods may return null --- includes/resourceloader/ResourceLoaderContext.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; -- 2.20.1