diff --git a/src/Illuminate/Database/Concerns/ManagesTransactions.php b/src/Illuminate/Database/Concerns/ManagesTransactions.php index ce0342ec5010..e7ac09423d16 100644 --- a/src/Illuminate/Database/Concerns/ManagesTransactions.php +++ b/src/Illuminate/Database/Concerns/ManagesTransactions.php @@ -10,11 +10,13 @@ trait ManagesTransactions { /** + * @template TReturn of mixed + * * Execute a Closure within a transaction. * - * @param \Closure $callback + * @param (\Closure(static): TReturn) $callback * @param int $attempts - * @return mixed + * @return TReturn * * @throws \Throwable */