Fix param doc of TitleArrayFromResult::setCurrent
authorUmherirrender <umherirrender_de.wp@web.de>
Sat, 29 Jun 2019 16:14:36 +0000 (18:14 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Thu, 18 Jul 2019 16:43:02 +0000 (16:43 +0000)
$row is a stdClass, not the ResultWrapper, which is a list of stdClass

Change-Id: Ic96354a6283fcf42ac1c75f524f1da45117100ce

includes/TitleArrayFromResult.php

index ee60f7b..80fdf9d 100644 (file)
@@ -41,7 +41,7 @@ class TitleArrayFromResult extends TitleArray implements Countable {
        }
 
        /**
-        * @param bool|IResultWrapper $row
+        * @param bool|stdClass $row
         * @return void
         */
        protected function setCurrent( $row ) {