Use numeric typehint instead of int to allow for numeric strings to be passed to find methods. Fixes the psalm check.

Signed-off-by: Raul <raul@nextcloud.com>
This commit is contained in:
Raul
2022-04-13 12:39:39 +02:00
parent 53e3a7ae7f
commit 815b8597d1
4 changed files with 18 additions and 21 deletions

View File

@@ -55,9 +55,6 @@ class AssignmentMapper extends QBMapper implements IPermissionMapper {
$this->circleService = $circleService;
}
/**
* @return Assignment[]
*/
public function findAll(int $cardId): array {
$qb = $this->db->getQueryBuilder();
$qb->select('*')