Skip to content

Commit

Permalink
lint: minor fix
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <[email protected]>
  • Loading branch information
pulsejet committed Apr 24, 2024
1 parent 087051a commit 49bc5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function indexFolder(Folder $folder): void
$addFilter('memories_failures', 'fail', false);

// Get file IDs to actually index
$fileIds = Util::transaction(static fn () => $query->executeQuery()->fetchAll(\PDO::FETCH_COLUMN));
$fileIds = Util::transaction(static fn (): array => $query->executeQuery()->fetchAll(\PDO::FETCH_COLUMN));

// Index files
foreach ($fileIds as $fileId) {
Expand Down

0 comments on commit 49bc5aa

Please sign in to comment.