Skip to content

Commit 4cfdc89

Browse files
committed
refactor: phpstan for collection of guideline arrays
1 parent b7df023 commit 4cfdc89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Install/GuidelineComposer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class GuidelineComposer
1414
{
1515
protected string $userGuidelineDir = '.ai/guidelines';
1616

17-
/** @var Collection<string, string> */
17+
/** @var Collection<string, array> */
1818
protected Collection $guidelines;
1919

2020
protected GuidelineConfig $config;
@@ -71,7 +71,7 @@ public function used(): array
7171
}
7272

7373
/**
74-
* @return Collection<string, string>
74+
* @return Collection<string, array>
7575
*/
7676
public function guidelines(): Collection
7777
{
@@ -85,7 +85,7 @@ public function guidelines(): Collection
8585
/**
8686
* Key is the 'guideline key' and value is the rendered blade.
8787
*
88-
* @return \Illuminate\Support\Collection<string, string>
88+
* @return \Illuminate\Support\Collection<string, array>
8989
*/
9090
protected function find(): Collection
9191
{

0 commit comments

Comments
 (0)