From 45696a69264fbdb308ab1ef928a360542cd81f22 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 17 Apr 2025 13:49:04 +1200 Subject: [PATCH] Fix callback recevier --- src/Pools/Pool.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pools/Pool.php b/src/Pools/Pool.php index 57e4f04..e374d38 100644 --- a/src/Pools/Pool.php +++ b/src/Pools/Pool.php @@ -198,7 +198,7 @@ public function setTelemetry(Telemetry $telemetry): static * Execute a callback with a managed connection * * @template T - * @param callable(mixed): T $callback Function that receives the connection resource + * @param callable(TResource): T $callback Function that receives the connection resource * @return T Return value from the callback */ public function use(callable $callback): mixed