Skip to content

Commit

Permalink
feat: add generics to tap() helper (#51881)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw authored Jun 24, 2024
1 parent 9c7ca00 commit d2bd095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Concerns/BuildsQueries.php
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ protected function cursorPaginator($items, $perPage, $cursor, $options)
/**
* Pass the query to a given callback.
*
* @param callable $callback
* @param callable($this): mixed $callback
* @return $this
*/
public function tap($callback)
Expand Down

0 comments on commit d2bd095

Please sign in to comment.