fix: Определения типов
This commit is contained in:
parent
9f6fd74b17
commit
dd74a97894
28 changed files with 334 additions and 249 deletions
|
|
@ -10,7 +10,10 @@ class StatementIterator implements \Iterator
|
|||
private $pos = 0;
|
||||
private $row_count;
|
||||
|
||||
public function __construct($rs/*: PDOStatement*/) {
|
||||
/**
|
||||
* @param PDOStatement $rs
|
||||
*/
|
||||
public function __construct($rs) {
|
||||
$this->result = $rs;
|
||||
$this->row_count = $rs->getRecordCount();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue