This commit is contained in:
origami11@yandex.ru 2025-10-01 12:39:01 +03:00
commit 987d4097c9

View file

@ -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;