aboutsummaryrefslogtreecommitdiffstats
path: root/includes/OutputPage.php
diff options
context:
space:
mode:
authorThiemo Kreuz <thiemo.kreuz@wikimedia.de>2020-03-24 09:59:02 +0100
committerThiemo Kreuz <thiemo.kreuz@wikimedia.de>2020-03-24 09:59:02 +0100
commit1006aa41e6fe477693a378682d18309104a27ba4 (patch)
tree0edbb1d0a6289d4a7d3e1c55cd6978e2d2258267 /includes/OutputPage.php
parentb9f9edad6bb4beff7ff2842171bd4d422da01b87 (diff)
downloadmediawikicore-1006aa41e6fe477693a378682d18309104a27ba4.tar.gz
mediawikicore-1006aa41e6fe477693a378682d18309104a27ba4.zip
Fix mismatching type hints in PHPDoc tags
This is a collection of random bits from my local stashes. This patch intentionally only touches comments, no code. Notably: * Use more specific string[] instead of array, if possible. * Some comments mention "or null", but miss to list the type. Change-Id: I712b28964f125c8e3dcb4e3fb993757a09f96644
Diffstat (limited to 'includes/OutputPage.php')
-rw-r--r--includes/OutputPage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/OutputPage.php b/includes/OutputPage.php
index 1966abcd6b25..14fdd2b95536 100644
--- a/includes/OutputPage.php
+++ b/includes/OutputPage.php
@@ -3914,7 +3914,7 @@ class OutputPage extends ContextSource {
* Transform "media" attribute based on request parameters
*
* @param string $media Current value of the "media" attribute
- * @return string Modified value of the "media" attribute, or null to skip
+ * @return string|null Modified value of the "media" attribute, or null to skip
* this stylesheet
*/
public static function transformCssMedia( $media ) {