chore: Аннотация типов
This commit is contained in:
parent
cf0bc435ce
commit
f07a668b30
14 changed files with 62 additions and 19 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -3,6 +3,9 @@
|
|||
namespace ctiso\Database;
|
||||
use PDO;
|
||||
|
||||
/**
|
||||
* @implements \Iterator<array>
|
||||
*/
|
||||
class StatementIterator implements \Iterator
|
||||
{
|
||||
/** @var PDOStatement */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue