mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +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:
@@ -267,7 +267,7 @@ class DBConfigService {
|
||||
'type' => $builder->createNamedParameter($type, IQueryBuilder::PARAM_INT)
|
||||
]);
|
||||
$query->execute();
|
||||
return (int)$this->connection->lastInsertId('*PREFIX*external_mounts');
|
||||
return $query->getLastInsertId();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user