X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Finstaller%2FDatabaseInstaller.php;h=ac8c9e674556691bce9fbc774e7d6ed0a37b4e11;hb=4ecf24c6e08edb31b0244229e8da8f9fa9c6068c;hp=ba5da6de50693ab217a6e1f4b00040b94d2cf746;hpb=da66e2d8f6d5cc853cacd6fb2dfad5c1b13ee6cf;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/installer/DatabaseInstaller.php b/includes/installer/DatabaseInstaller.php index ba5da6de50..ac8c9e6745 100644 --- a/includes/installer/DatabaseInstaller.php +++ b/includes/installer/DatabaseInstaller.php @@ -177,6 +177,7 @@ abstract class DatabaseInstaller { * This will return a cached connection if one is available. * * @return Status + * @suppress PhanUndeclaredMethod */ public function getConnection() { if ( $this->db ) { @@ -341,6 +342,7 @@ abstract class DatabaseInstaller { public function setupSchemaVars() { $status = $this->getConnection(); if ( $status->isOK() ) { + // @phan-suppress-next-line PhanUndeclaredMethod $status->value->setSchemaVars( $this->getSchemaVars() ); } else { $msg = __METHOD__ . ': unexpected error while establishing' @@ -447,8 +449,7 @@ abstract class DatabaseInstaller { * @return string */ public function getReadableName() { - // Messages: config-type-mysql, config-type-postgres, config-type-sqlite, - // config-type-oracle + // Messages: config-type-mysql, config-type-postgres, config-type-sqlite return wfMessage( 'config-type-' . $this->getName() )->text(); }