Skip to content

Commit

Permalink
fix: Since and Until operation - fix sa
Browse files Browse the repository at this point in the history
New errors were spotted with PSalm 4.30.0.
  • Loading branch information
drupol committed Nov 7, 2022
1 parent 06729d7 commit bde565c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Contract/Operation/Sinceable.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface Sinceable
*
* @see https://loophp-collection.readthedocs.io/en/stable/pages/api.html#since
*
* @param callable(T, TKey):bool ...$callbacks
* @param callable(T, TKey, iterable<TKey, T>):bool ...$callbacks
*
* @return Collection<TKey, T>
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Contract/Operation/Untilable.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ interface Untilable
*
* @see https://loophp-collection.readthedocs.io/en/stable/pages/api.html#until
*
* @param callable(T, TKey):bool ...$callbacks
* @param callable(T, TKey, iterable<TKey, T>):bool ...$callbacks
*
* @return Collection<TKey, T>
*/
Expand Down

0 comments on commit bde565c

Please sign in to comment.