From 31549223f2c9b08eb698b9198fa1caf8fa571b90 Mon Sep 17 00:00:00 2001 From: Aaron Piotrowski <aaron@trowski.com> Date: Sat, 11 Nov 2023 10:40:03 -0600 Subject: [PATCH] Couple more fixes --- src/Pool.php | 2 +- src/Transaction.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Pool.php b/src/Pool.php index 0a65c1e..6083b6a 100644 --- a/src/Pool.php +++ b/src/Pool.php @@ -16,7 +16,7 @@ interface Pool extends Link * Gets a single connection from the pool to run a set of queries against a single connection. * Generally a transaction should be used instead of this method. * - * @return Connection<TResult, TStatement, TTransaction, TConfig> + * @return Connection<TConfig, TResult, TStatement, TTransaction> */ public function extractConnection(): Connection; diff --git a/src/Transaction.php b/src/Transaction.php index e6b722c..68cc27d 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -4,7 +4,7 @@ /** * @template TResult of Result - * @template TStatement of Statement + * @template TStatement of Statement<TResult> * @template TTransaction of Transaction * @extends Executor<TResult, TStatement, TTransaction> */