mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-21 07:35:34 +08:00
PHP80 小修 (#187)
* migrate-php80 fix styles fix static analyse * fix some bugs
This commit is contained in:
@@ -13,12 +13,8 @@ use Doctrine\DBAL\ParameterType;
|
||||
|
||||
class DBStatement implements \IteratorAggregate, Statement
|
||||
{
|
||||
/** @var \PDOStatement */
|
||||
private $statement;
|
||||
|
||||
public function __construct($obj)
|
||||
public function __construct(private \PDOStatement $statement)
|
||||
{
|
||||
$this->statement = $obj;
|
||||
}
|
||||
|
||||
public function closeCursor()
|
||||
|
||||
Reference in New Issue
Block a user