Skip to content

Commit 14a8971

Browse files
committed
docs: remove unused @templete in interfaces
1 parent b0527df commit 14a8971

File tree

4 files changed

+2
-15
lines changed

4 files changed

+2
-15
lines changed

system/Database/BasePreparedQuery.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
use ErrorException;
1919

2020
/**
21-
*
22-
* @implements PreparedQueryInterface<TConnection, TStatement, TResult>
2321
* @template TConnection
2422
* @template TStatement
2523
* @template TResult
@@ -111,7 +109,7 @@ abstract public function _prepare(string $sql, array $options = []);
111109
* prepared query. Upon success, will return a Results object.
112110
*
113111
* @return bool|ResultInterface
114-
* @phpstan-return bool|ResultInterface<TConnection, TResult>
112+
* @phpstan-return bool|ResultInterface
115113
*
116114
* @throws DatabaseException
117115
*/

system/Database/BaseResult.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
use stdClass;
1616

1717
/**
18-
*
19-
* @implements ResultInterface<TConnection, TResult>
2018
* @template TConnection
2119
* @template TResult
2220
*/

system/Database/PreparedQueryInterface.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,14 @@
1313

1414
use BadMethodCallException;
1515

16-
/**
17-
* @template TConnection of object|resource
18-
* @template TStatement of object|resource
19-
* @template TResult of object|resource
20-
*/
2116
interface PreparedQueryInterface
2217
{
2318
/**
2419
* Takes a new set of data and runs it against the currently
2520
* prepared query. Upon success, will return a Results object.
2621
*
2722
* @return bool|ResultInterface
28-
* @phpstan-return bool|ResultInterface<TConnection, TResult>
23+
* @phpstan-return bool|ResultInterface
2924
*/
3025
public function execute(...$data);
3126

system/Database/ResultInterface.php

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

1212
namespace CodeIgniter\Database;
1313

14-
/**
15-
* @template TConnection of object|resource
16-
* @template TResult of object|resource
17-
*/
1814
interface ResultInterface
1915
{
2016
/**

0 commit comments

Comments
 (0)