Siebrand has uploaded a new change for review. https://gerrit.wikimedia.org/r/104021
Change subject: Update documentation related to newFromRow and formatRow ...................................................................... Update documentation related to newFromRow and formatRow Change-Id: I65e5923c4dc3a63bd9cdbbc5fdcb572ab0cb9cae --- M includes/Pager.php M includes/User.php M includes/logging/LogEntry.php 3 files changed, 3 insertions(+), 3 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/21/104021/1 diff --git a/includes/Pager.php b/includes/Pager.php index 19c3c43..6a10e88 100644 --- a/includes/Pager.php +++ b/includes/Pager.php @@ -659,7 +659,7 @@ * representing the result row $row. Rows will be concatenated and * returned by getBody() * - * @param array $row Database row + * @param array|stdClass $row Database row * @return string */ abstract function formatRow( $row ); diff --git a/includes/User.php b/includes/User.php index e7c5a32..43128fa 100644 --- a/includes/User.php +++ b/includes/User.php @@ -465,7 +465,7 @@ * user_name and user_real_name are not provided because the whole row * will be loaded once more from the database when accessing them. * - * @param array $row A row from the user table + * @param stdClass $row A row from the user table * @param array $data Further data to load into the object (see User::loadFromRow for valid keys) * @return User */ diff --git a/includes/logging/LogEntry.php b/includes/logging/LogEntry.php index a725402..76c2280 100644 --- a/includes/logging/LogEntry.php +++ b/includes/logging/LogEntry.php @@ -157,7 +157,7 @@ /** * Constructs new LogEntry from database result row. * Supports rows from both logging and recentchanges table. - * @param $row + * @param stdClass|array $row * @return DatabaseLogEntry */ public static function newFromRow( $row ) { -- To view, visit https://gerrit.wikimedia.org/r/104021 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I65e5923c4dc3a63bd9cdbbc5fdcb572ab0cb9cae Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Siebrand <siebr...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits