chore: Ошибка deprecated implicitly nullable в phpstan
This commit is contained in:
parent
d98eec0b92
commit
df5fd1ca6a
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class Factory
|
||||||
public $config;
|
public $config;
|
||||||
public $user;
|
public $user;
|
||||||
|
|
||||||
public function __construct(Database $db, Registry $config = null, User $user = null)
|
public function __construct(Database $db, ?Registry $config = null, ?User $user = null)
|
||||||
{
|
{
|
||||||
$this->db = $db;
|
$this->db = $db;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue