From 79edb56b2fe3fffae3e8b886f59217a17b62874f Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Sat, 12 Jul 2014 20:55:43 -0700 Subject: [PATCH] Block: $row is a stdClass, not a ResultWrapper Change-Id: I874d2fad32099aff05868680a6194b8d0d44fb23 --- includes/Block.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Block.php b/includes/Block.php index c393a795d4..1a585b9434 100644 --- a/includes/Block.php +++ b/includes/Block.php @@ -347,7 +347,7 @@ class Block { /** * Given a database row from the ipblocks table, initialize * member variables - * @param ResultWrapper $row A row from the ipblocks table + * @param stdClass $row A row from the ipblocks table */ protected function initFromRow( $row ) { $this->setTarget( $row->ipb_address ); @@ -382,7 +382,7 @@ class Block { /** * Create a new Block object from a database row - * @param ResultWrapper $row Row from the ipblocks table + * @param stdClass $row Row from the ipblocks table * @return Block */ public static function newFromRow( $row ) { -- 2.20.1