Merge "Http::getProxy() method to get proxy configuration"
[lhc/web/wiklou.git] / includes / revisiondelete / RevDelArchivedFileList.php
index aec51b1..afee637 100644 (file)
@@ -32,7 +32,7 @@ class RevDelArchivedFileList extends RevDelFileList {
        }
 
        /**
-        * @param DatabaseBase $db
+        * @param IDatabase $db
         * @return mixed
         */
        public function doQuery( $db ) {
@@ -41,12 +41,12 @@ class RevDelArchivedFileList extends RevDelFileList {
                return $db->select(
                        'filearchive',
                        ArchivedFile::selectFields(),
-                       array(
+                       [
                                'fa_name' => $this->title->getDBkey(),
                                'fa_id' => $ids
-                       ),
+                       ],
                        __METHOD__,
-                       array( 'ORDER BY' => 'fa_id DESC' )
+                       [ 'ORDER BY' => 'fa_id DESC' ]
                );
        }