Skip to content

Commit

Permalink
Make phpdoc of getKeys() more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
greg0ire committed Sep 1, 2022
1 parent 085d4db commit 60f59ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/Common/Collections/ReadableCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function get($key);
*
* @return int[]|string[] The keys/indices of the collection, in the order of the corresponding
* elements in the collection.
* @psalm-return TKey[]
* @psalm-return list<TKey>
*/
public function getKeys();

Expand Down

0 comments on commit 60f59ce

Please sign in to comment.