From d2bd095eab3d7a1e869b5824bcada7492e447ec7 Mon Sep 17 00:00:00 2001 From: Caleb White Date: Mon, 24 Jun 2024 15:24:42 -0500 Subject: [PATCH] feat: add generics to tap() helper (#51881) --- Concerns/BuildsQueries.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Concerns/BuildsQueries.php b/Concerns/BuildsQueries.php index a2f43a097..f8d97b76d 100644 --- a/Concerns/BuildsQueries.php +++ b/Concerns/BuildsQueries.php @@ -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)