Skip to content

Commit 9a7eb9b

Browse files
committed
refactor: phpstan for displayhelper::grid
1 parent 4cfdc89 commit 9a7eb9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Console/InstallCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ private function installGuidelines(): void
390390

391391
$this->newLine();
392392
$this->info(sprintf(' Adding %d guidelines to your selected agents', $guidelines->count()));
393-
DisplayHelper::grid($guidelines->map(fn ($guideline, $key) => $key.($guideline['custom'] ? '*' : ''))->sort()->toArray(), $this->terminal->cols());
393+
DisplayHelper::grid($guidelines->map(fn ($guideline, string $key) => $key.($guideline['custom'] ? '*' : ''))->values()->sort()->toArray(), $this->terminal->cols());
394394
$this->newLine();
395395
usleep(750000);
396396

0 commit comments

Comments
 (0)