mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
Fix a few RedundantCast
Reported by psalm For #25641 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
@@ -87,7 +87,7 @@ class DbHandler {
|
||||
$result = $query->execute();
|
||||
|
||||
if ($result) {
|
||||
return (int)$this->connection->lastInsertId('*PREFIX*'.$this->dbTable);
|
||||
return $query->getLastInsertId();
|
||||
}
|
||||
|
||||
$message = 'Internal failure, Could not add trusted server: ' . $url;
|
||||
|
||||
Reference in New Issue
Block a user