Apply suggestions from code review
Apply suggestions from code review

Co-Authored-By: Daniel Kesselberg <1d6e1cf70ec6f9ab28d3ea4b27a49a77654d370e@danielkesselberg.de>
Signed-off-by: martink-p <444ba507f3f3444d52b9a22566e14a00cb5a1a32@users.noreply.github.com>

nextcloud/server,andreas-p/nextcloud-server,nextcloud/server,nextcloud/server,andreas-p/nextcloud-server,nextcloud/server,andreas-p/nextcloud-server,andreas-p/nextcloud-server,andreas-p/nextcloud-server