Fix type doc in StatusValue
authorAaron Schulz <aschulz@wikimedia.org>
Sat, 17 Sep 2016 00:38:10 +0000 (17:38 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Sat, 17 Sep 2016 00:38:10 +0000 (17:38 -0700)
Change-Id: Ib0a3282083b2fd08ea76022b74b21b55da9b8a46

includes/libs/StatusValue.php

index 1d23f9d..baa4e22 100644 (file)
@@ -246,8 +246,8 @@ class StatusValue {
         * Note, due to the lack of tools for comparing IStatusMessage objects, this
         * function will not work when using such an object as the search parameter.
         *
-        * @param IStatusMessage|string $source Message key or object to search for
-        * @param IStatusMessage|string $dest Replacement message key or object
+        * @param MessageSpecifier|string $source Message key or object to search for
+        * @param MessageSpecifier|string $dest Replacement message key or object
         * @return bool Return true if the replacement was done, false otherwise.
         */
        public function replaceMessage( $source, $dest ) {