chore: Аннотации к типам

This commit is contained in:
origami11@yandex.ru 2025-10-23 11:24:33 +03:00
parent e5713e9015
commit 530a3b931d
22 changed files with 388 additions and 131 deletions

View file

@ -7,7 +7,9 @@ class StatementIterator implements \Iterator
{
private $result;
/** @var int */
private $pos = 0;
/** @var int */
private $row_count;
/**
@ -37,15 +39,15 @@ class StatementIterator implements \Iterator
return $this->result->cache[$this->pos];
}
function next(): void{
function next(): void {
$this->pos++;
}
function seek($index) {
function seek($index): void {
$this->pos = $index;
}
function count() {
function count(): int {
return $this->row_count;
}
}