Block: $row is a stdClass, not a ResultWrapper
authorKunal Mehta <legoktm@gmail.com>
Sun, 13 Jul 2014 03:55:43 +0000 (20:55 -0700)
committerKunal Mehta <legoktm@gmail.com>
Sun, 13 Jul 2014 03:55:43 +0000 (20:55 -0700)
Change-Id: I874d2fad32099aff05868680a6194b8d0d44fb23

includes/Block.php

index c393a79..1a585b9 100644 (file)
@@ -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 ) {