Skip to content

Commit

Permalink
fix(FaceDetectionMapper): Fix findUserIds typing
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <[email protected]>
  • Loading branch information
marcelklehr committed May 8, 2024
1 parent 1def909 commit ea2b80b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Db/FaceDetectionMapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string> */
$list = $qb->executeQuery()->fetchAll(\PDO::FETCH_COLUMN);
return $list;
}

/**
Expand Down

0 comments on commit ea2b80b

Please sign in to comment.