Skip to content

Commit

Permalink
refactor: Add missing annotations.
Browse files Browse the repository at this point in the history
Signed-off-by: Pol Dellaiera <pol.dellaiera@protonmail.com>
  • Loading branch information
drupol committed Oct 10, 2020
1 parent 1a57ffb commit bdedb51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Contract/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
* @template-extends Hasable<TKey, T>
* @template-extends Headable<TKey, T>
* @template-extends IfThenElseable<TKey, T>
* @template-extends Implodeable<TKey, T>
* @template-extends Initable<TKey, T>
* @template-extends Initsable<TKey, T>
* @template-extends Intersectable<TKey, T>
Expand Down
2 changes: 2 additions & 0 deletions src/Contract/Operation/Containsable.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
use loophp\collection\Contract\Collection;

/**
* @psalm-template TKey
* @psalm-template TKey of array-key
* @psalm-template T
*/
interface Containsable
Expand Down

0 comments on commit bdedb51

Please sign in to comment.