diff --git a/src/Executor.php b/src/Executor.php index e90a2fe..1fd5804 100644 --- a/src/Executor.php +++ b/src/Executor.php @@ -3,8 +3,8 @@ namespace Amp\Sql; /** - * @template TResult extends Result - * @template TStatement extends Statement + * @template TResult of Result + * @template TStatement of Statement */ interface Executor extends TransientResource { diff --git a/src/Link.php b/src/Link.php index 51fb7c4..4e96eb4 100644 --- a/src/Link.php +++ b/src/Link.php @@ -3,9 +3,9 @@ namespace Amp\Sql; /** - * @template TResult extends Result - * @template TStatement extends Statement - * @template TTransaction extends Transaction + * @template TResult of Result + * @template TStatement of Statement + * @template TTransaction of Transaction * * @extends Executor */ diff --git a/src/SqlConnector.php b/src/SqlConnector.php index abb766a..41d1eef 100644 --- a/src/SqlConnector.php +++ b/src/SqlConnector.php @@ -5,8 +5,8 @@ namespace Amp\Sql; use Amp\Cancellation; /** - * @template TConfig extends SqlConfig - * @template TLink extends Link + * @template TConfig of SqlConfig + * @template TLink of Link */ interface SqlConnector { diff --git a/src/Statement.php b/src/Statement.php index 7b9c385..5fe7252 100644 --- a/src/Statement.php +++ b/src/Statement.php @@ -3,7 +3,7 @@ namespace Amp\Sql; /** - * @template TResult extends Result + * @template TResult of Result */ interface Statement extends TransientResource { diff --git a/src/Transaction.php b/src/Transaction.php index 58535b3..0b0c675 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -3,8 +3,8 @@ namespace Amp\Sql; /** - * @template TResult extends Result - * @template TStatement extends Statement + * @template TResult of Result + * @template TStatement of Statement * @extends Executor */ interface Transaction extends Executor