Jeroen De Dauw has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/135028

Change subject: Fix type hint warnings in static code analysis
......................................................................

Fix type hint warnings in static code analysis

Change-Id: Ifcb0f44b3e8d25011e7f26ba22c6aaafebe6af84
---
M lib/includes/util/HttpAcceptNegotiator.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/28/135028/1

diff --git a/lib/includes/util/HttpAcceptNegotiator.php 
b/lib/includes/util/HttpAcceptNegotiator.php
index 2011cf8..a70ddfb 100644
--- a/lib/includes/util/HttpAcceptNegotiator.php
+++ b/lib/includes/util/HttpAcceptNegotiator.php
@@ -103,8 +103,8 @@
         * - if both $accepted and $supported contain a `/`, and $accepted ends 
with `/*`,
         *   they match if the part before the first `/` is equal.
         *
-        * @param $accepted   An accepted value (may contain wildcards)
-        * @param $supported  A supported value.
+        * @param string $accepted An accepted value (may contain wildcards)
+        * @param string  $supported A supported value.
         *
         * @return bool Whether the given supported value matches the given 
accepted value.
         */

-- 
To view, visit https://gerrit.wikimedia.org/r/135028
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifcb0f44b3e8d25011e7f26ba22c6aaafebe6af84
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to