Skip to content

Commit

Permalink
fixup! Cleanup plsam issues in DB/ContactsManager and Console
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Sep 4, 2023
1 parent f7b7c95 commit 4578072
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/private/DB/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ public function connect() {
return $status;
} catch (Exception $e) {
// throw a new exception to prevent leaking info from the stacktrace
throw new Exception('Failed to connect to the database: ' . $e->getMessage(), (int)$e->getCode());
throw new Exception('Failed to connect to the database: ' . $e->getMessage(), $e->getCode());
}
}

Expand Down
2 changes: 1 addition & 1 deletion lib/private/DB/MigrationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private function createMigrationTable(): bool {
/**
* Returns all versions which have already been applied
*
* @return list<string>
* @return string[]
* @codeCoverageIgnore - no need to test this
*/
public function getMigratedVersions() {
Expand Down

0 comments on commit 4578072

Please sign in to comment.