chore: Аннотация типов

This commit is contained in:
Wizard 2025-11-02 12:33:26 +03:00
parent cf0bc435ce
commit f07a668b30
14 changed files with 62 additions and 19 deletions

View file

@ -7,6 +7,9 @@ use ctiso\Database\StatementIterator,
PDO;
use TheSeer\Tokenizer\Exception;
/**
* @implements \IteratorAggregate<int, array>
*/
class PDOStatement extends \PDOStatement implements \IteratorAggregate
{
/** @var int */

View file

@ -3,6 +3,9 @@
namespace ctiso\Database;
use PDO;
/**
* @implements \Iterator<array>
*/
class StatementIterator implements \Iterator
{
/** @var PDOStatement */