@@ -71,7 +71,7 @@ discard block  | 
                                                    ||
| 71 | 71 | $this->dbName = $dbName;  | 
                                                        
| 72 | 72 | $this->url = $url;  | 
                                                        
| 73 | 73 | |
| 74 | - return [ 'dbName' => $dbName, 'wikiName' => $wikiName, 'url' => $url, 'lang' => $lang ];  | 
                                                        |
| 74 | + return ['dbName' => $dbName, 'wikiName' => $wikiName, 'url' => $url, 'lang' => $lang];  | 
                                                        |
| 75 | 75 | }  | 
                                                        
| 76 | 76 | |
| 77 | 77 | /**  | 
                                                        
@@ -109,7 +109,7 @@ discard block  | 
                                                    ||
| 109 | 109 | // Create the query we're going to run against the meta database  | 
                                                        
| 110 | 110 | $wikiQuery = $this->client->createQueryBuilder();  | 
                                                        
| 111 | 111 | $wikiQuery  | 
                                                        
| 112 | - ->select([ 'dbname', 'name', 'url', 'lang' ])  | 
                                                        |
| 112 | + ->select(['dbname', 'name', 'url', 'lang'])  | 
                                                        |
| 113 | 113 |              ->from('wiki') | 
                                                        
| 114 | 114 |              ->where($wikiQuery->expr()->eq('dbname', ':project')) | 
                                                        
| 115 | 115 | // The meta database will have the project's URL stored as https://en.wikipedia.org  | 
                                                        
@@ -160,7 +160,7 @@ discard block  | 
                                                    ||
| 160 | 160 | public function allProjects()  | 
                                                        
| 161 | 161 |      { | 
                                                        
| 162 | 162 | $wikiQuery = $this->client->createQueryBuilder();  | 
                                                        
| 163 | -        $wikiQuery->select([ 'dbName', 'name', 'url' ])->from('wiki'); | 
                                                        |
| 163 | +        $wikiQuery->select(['dbName', 'name', 'url'])->from('wiki'); | 
                                                        |
| 164 | 164 | $stmt = $wikiQuery->execute();  | 
                                                        
| 165 | 165 | $out = $stmt->fetchAll();  | 
                                                        
| 166 | 166 | return $out;  | 
                                                        
@@ -183,7 +183,7 @@ discard block  | 
                                                    ||
| 183 | 183 | // as required by Labs. We combine $table with  | 
                                                        
| 184 | 184 | // $table_extension in order to generate the new table name  | 
                                                        
| 185 | 185 |          if ($this->isLabs() && $table_extension !== null) { | 
                                                        
| 186 | - $table = $table . "_" . $table_extension;  | 
                                                        |
| 186 | + $table = $table."_".$table_extension;  | 
                                                        |
| 187 | 187 | }  | 
                                                        
| 188 | 188 | |
| 189 | 189 | // Use the table specified in the table mapping configuration, if present.  |