private function destroyDatabaseTables($destroyDatabaseTables) { if ($this->isUsableUnitTestDatabase && $destroyDatabaseTables) { try { $this->mwDatabaseTableBuilder->doDestroy(); } catch (\Exception $e) { // Do nothing because an instance was not available } } }
private function destroyDatabaseTables($destroyDatabaseTables) { if ($this->isUsableUnitTestDatabase && $destroyDatabaseTables) { try { $this->mwDatabaseTableBuilder->doDestroy(); } catch (\Exception $e) { // @codingStandardsIgnoreStart phpcs, ignore --sniffs=Generic.CodeAnalysis.EmptyStatement // Do nothing because an instance was not available } // @codingStandardsIgnoreEnd } }