Skip to content

Commit

Permalink
Update typing information.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Aug 16, 2020
1 parent 81b7a6f commit e716b85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Transformation/Last.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace loophp\collection\Transformation;

use Closure;
use Iterator;
use loophp\collection\Contract\Transformation;
use StdClass;
Expand All @@ -18,7 +19,7 @@
final class Last implements Transformation
{
/**
* @var callable|\Closure
* @var callable|Closure
* @psalm-var callable(T, TKey):(bool)|\Closure(T, TKey):(bool)
*/
private $callback;
Expand Down

0 comments on commit e716b85

Please sign in to comment.