Combine phpstan, cs-check, cs-fix into lint-php recipe; fix lint issues + test failures + duplicate detection bug

This commit is contained in:
Pontoporeia
2026-05-19 23:59:41 +02:00
parent 2e75a3b35c
commit 728f05502c
18 changed files with 220 additions and 229 deletions

View File

@@ -147,7 +147,7 @@ class ShareLink
'SELECT * FROM share_links WHERE is_archived = 0 ORDER BY created_at DESC'
);
$rows = $stmt->fetchAll();
return array_map(fn($row) => $this->decorateWithPassword($row), $rows);
return array_map(fn ($row) => $this->decorateWithPassword($row), $rows);
}
/**