fix: noverify --fix (repeat)
This commit is contained in:
parent
117640a755
commit
8941f5f102
2 changed files with 3 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ class Database extends PDO
|
|||
parent::__construct($dsn, $username, $password);
|
||||
$this->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||
$this->setAttribute(PDO::ATTR_DEFAULT_FETCH_MODE, PDO::FETCH_ASSOC);
|
||||
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, array()]);
|
||||
$this->setAttribute(PDO::ATTR_STATEMENT_CLASS, [PDOStatement::class, []]);
|
||||
}
|
||||
|
||||
function prepare(string $sql, array $options = []): PDOStatement|false {
|
||||
|
|
|
|||
|
|
@ -183,8 +183,8 @@ class View extends \stdClass
|
|||
function loadImports($importFile)
|
||||
{
|
||||
$types = [
|
||||
'js' => array($this, 'addScript'),
|
||||
'css' => array($this, 'addStyleSheet')
|
||||
'js' => [$this, 'addScript'],
|
||||
'css' => [$this, 'addStyleSheet']
|
||||
];
|
||||
// Подключение стилей и скриптов
|
||||
if (file_exists($importFile)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue