Skip to content

Commit a7a2369

Browse files
committed
docs: restore @template with no types
1 parent bd17c8f commit a7a2369

File tree

4 files changed

+13
-0
lines changed

4 files changed

+13
-0
lines changed

system/Database/BasePreparedQuery.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
* @template TConnection
2222
* @template TStatement
2323
* @template TResult
24+
*
25+
* @implements PreparedQueryInterface<TConnection, TStatement, TResult>
2426
*/
2527
abstract class BasePreparedQuery implements PreparedQueryInterface
2628
{

system/Database/BaseResult.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
/**
1818
* @template TConnection
1919
* @template TResult
20+
*
21+
* @implements ResultInterface<TConnection, TResult>
2022
*/
2123
abstract class BaseResult implements ResultInterface
2224
{

system/Database/PreparedQueryInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313

1414
use BadMethodCallException;
1515

16+
/**
17+
* @template TConnection
18+
* @template TStatement
19+
* @template TResult
20+
*/
1621
interface PreparedQueryInterface
1722
{
1823
/**

system/Database/ResultInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@
1313

1414
use stdClass;
1515

16+
/**
17+
* @template TConnection
18+
* @template TResult
19+
*/
1620
interface ResultInterface
1721
{
1822
/**

0 commit comments

Comments
 (0)