r96997 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r96996‎ | r96997 | r96998 >
Date:20:15, 13 September 2011
Author:catrope
Status:ok
Tags:
Comment:
Document the fact that some ResourceLoaderContext methods may return null
Modified paths:
  • /trunk/phase3/includes/resourceloader/ResourceLoaderContext.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/resourceloader/ResourceLoaderContext.php
@@ -155,14 +155,14 @@
156156 }
157157
158158 /**
159 - * @return string
 159+ * @return string|null
160160 */
161161 public function getSkin() {
162162 return $this->skin;
163163 }
164164
165165 /**
166 - * @return string
 166+ * @return string|null
167167 */
168168 public function getUser() {
169169 return $this->user;
@@ -176,14 +176,14 @@
177177 }
178178
179179 /**
180 - * @return String
 180+ * @return String|null
181181 */
182182 public function getOnly() {
183183 return $this->only;
184184 }
185185
186186 /**
187 - * @return String
 187+ * @return String|null
188188 */
189189 public function getVersion() {
190190 return $this->version;

Status & tagging log