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; } /**