Skip to content

Commit

Permalink
Add first() to Collection stub
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk committed Feb 9, 2021
1 parent 9ce54d8 commit 0e726dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stubs/Collections/Collection.stub
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,8 @@ use IteratorAggregate;
*/
interface Collection extends Countable, IteratorAggregate, ArrayAccess
{

/**
* @phpstan-return T|false
*/
public function first();
}

0 comments on commit 0e726dd

Please sign in to comment.