From d3c8c8ea83ad82c7bc13ef37fcb99f90b9d3fdee Mon Sep 17 00:00:00 2001 From: Choraimy Kroonstuiver <3661474+axlon@users.noreply.github.com> Date: Fri, 19 Nov 2021 15:01:03 +0100 Subject: [PATCH] Improve Tappable::tap() return type (#39685) --- src/Illuminate/Support/Traits/Tappable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Support/Traits/Tappable.php b/src/Illuminate/Support/Traits/Tappable.php index e4a321cdfd00..9353451ad0cd 100644 --- a/src/Illuminate/Support/Traits/Tappable.php +++ b/src/Illuminate/Support/Traits/Tappable.php @@ -8,7 +8,7 @@ trait Tappable * Call the given Closure with this instance then return the instance. * * @param callable|null $callback - * @return mixed + * @return $this|\Illuminate\Support\HigherOrderTapProxy */ public function tap($callback = null) {