Thiemo Mättig (WMDE) has uploaded a new change for review.

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

Change subject: More specific type hints
......................................................................

More specific type hints

Change-Id: Ie0abfe10774d94f39151291ce6a37627bf46ae50
---
M src/Assert.php
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/libs/Assert 
refs/changes/36/316336/1

diff --git a/src/Assert.php b/src/Assert.php
index 77dccd3..c0bf01d 100644
--- a/src/Assert.php
+++ b/src/Assert.php
@@ -101,7 +101,7 @@
         * @param string $type The elements' expected type. Can be the name of 
a native type or a
         *        class or interface. If multiple types are allowed, they can 
be given separated by
         *        a pipe character ("|").
-        * @param mixed $value The parameter's actual value. If this is not an 
array,
+        * @param array $value The parameter's actual value. If this is not an 
array,
         *        a ParameterTypeException is raised.
         * @param string $name The name of the parameter that was checked.
         *
@@ -186,7 +186,7 @@
        }
 
        /**
-        * @param mixed $value
+        * @param object $value
         * @param string[] $allowedTypes
         *
         * @return bool

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie0abfe10774d94f39151291ce6a37627bf46ae50
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/libs/Assert
Gerrit-Branch: master
Gerrit-Owner: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>

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

Reply via email to