Мелкие правки

This commit is contained in:
origami11@yandex.ru 2023-01-31 10:49:00 +03:00
parent b3f6cfcbd7
commit 0c3fba0d7e
2 changed files with 6 additions and 4 deletions

View file

@ -10,7 +10,7 @@ class Factory
public $db;
public $config;
public function __construct (Database $db, Registry $config = null, User $user)
public function __construct (Database $db, Registry $config = null, User $user = null)
{
$this->db = $db;
$this->config = $config;