From ea2b80b65b701b53917ca75fe508b9beb504ef88 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 8 May 2024 15:09:44 +0200 Subject: [PATCH] fix(FaceDetectionMapper): Fix findUserIds typing Signed-off-by: Marcel Klehr --- lib/Db/FaceDetectionMapper.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Db/FaceDetectionMapper.php b/lib/Db/FaceDetectionMapper.php index edf5d106..672143d2 100644 --- a/lib/Db/FaceDetectionMapper.php +++ b/lib/Db/FaceDetectionMapper.php @@ -165,7 +165,9 @@ public function findUserIds() :array { $qb = $this->db->getQueryBuilder(); $qb->selectDistinct('d.user_id') ->from('recognize_face_detections', 'd'); - return $qb->executeQuery()->fetchAll(\PDO::FETCH_COLUMN); + /** @var list */ + $list = $qb->executeQuery()->fetchAll(\PDO::FETCH_COLUMN); + return $list; } /**