Skip to content

Commit

Permalink
refactor: Add missing annotations.
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Oct 7, 2020
1 parent 70855c3 commit f1aae0d
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 @@ -138,6 +138,7 @@
* @template-extends Flipable<TKey, T>
* @template-extends FoldLeftable<TKey, T>
* @template-extends FoldLeft1able<TKey, T>
* @template-extends FoldRightable<TKey, T>
* @template-extends FoldRight1able<TKey, T>
* @template-extends Forgetable<TKey, T>
* @template-extends Frequencyable<TKey, T>
Expand Down
2 changes: 2 additions & 0 deletions src/Contract/Operation/Timesable.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ interface Timesable
* @psalm-template TKey of array-key
* @psalm-template T
*
* @psalm-param null|callable(): T $callback
*
* @psalm-return \loophp\collection\Contract\Collection<TKey, T>
*/
public static function times(int $number = 0, ?callable $callback = null): Collection;
Expand Down

0 comments on commit f1aae0d

Please sign in to comment.