* Writes the schema updates desired to a file for the DB Admin to run.
* @param array $schemaUpdate
*/
- private function writeSchemaUpdateFile( $schemaUpdate = [] ) {
+ private function writeSchemaUpdateFile( array $schemaUpdate = [] ) {
$updates = $this->updatesSkipped;
$this->updatesSkipped = [];
*
* @param array $what What updates to perform
*/
- public function doUpdates( $what = [ 'core', 'extensions', 'stats' ] ) {
+ public function doUpdates( array $what = [ 'core', 'extensions', 'stats' ] ) {
$this->db->setSchemaVars( $this->getSchemaVars() );
$what = array_flip( $what );
*
* @param array $what
*/
- public function doUpdates( $what = [ 'core', 'extensions', 'purge', 'stats' ] ) {
+ public function doUpdates( array $what = [ 'core', 'extensions', 'purge', 'stats' ] ) {
parent::doUpdates( $what );
$this->db->query( 'BEGIN fill_wiki_info; END;' );