Skip to content

Commit a37872b

Browse files
committed
ci: fix phpstan
1 parent 44f585a commit a37872b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Resources/Concerns/PrepareData.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,13 @@ protected function autoWhenHas(iterable $data, string $for): iterable
4949
return $data;
5050
}
5151

52+
/**
53+
* @template TKey as array-key
54+
* @template TValue
55+
* @param iterable<TKey, TValue> $data
56+
*
57+
* @return iterable<TKey, TValue>
58+
*/
5259
protected function autoWhenIncluded(iterable $data): iterable
5360
{
5461
$autoWhenIncluded = $this->autoWhenIncluded ?? null;

0 commit comments

Comments
 (0)