Skip to content

Commit

Permalink
Fix mistype on PHPDoc ( missing '=' )
Browse files Browse the repository at this point in the history
Added missing '=' on optional value for map closure
  • Loading branch information
didix16 authored Nov 15, 2019
1 parent 0c06dfd commit e871b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/Common/Collections/ArrayCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ public function getIterator() : Traversable
* @return static
*
* @psalm-template U
* @psalm-param Closure(T=, TKey):U $func
* @psalm-param Closure(T=, TKey=):U $func
* @psalm-return static<TKey, U>
*/
public function map(Closure $func) : Collection
Expand Down

0 comments on commit e871b3c

Please sign in to comment.