Skip to content

Commit

Permalink
ArrayMap.php: Fix phpstan VS phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
adriendupuis committed Feb 16, 2024
1 parent 9260936 commit 05d38b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/contracts/Collection/ArrayMap.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ public function has($key): bool
}

/**
* @param TValue[] $items
* @phpstan-param TValue[] $items
*
* @return \Ibexa\Contracts\Core\Collection\ArrayMap<TKey,TValue>
* @phpstan-return \Ibexa\Contracts\Core\Collection\ArrayMap<TKey,TValue>
*/
protected function createFrom(array $items): self
{
Expand Down

0 comments on commit 05d38b4

Please sign in to comment.