remove extra arguments

This commit is contained in:
yggverse 2024-06-27 16:56:45 +03:00
parent cf246ee53d
commit 27a8f71b27

View file

@ -15,13 +15,9 @@ class App
public \GtkHeaderBar $header; public \GtkHeaderBar $header;
public \GtkNotebook $tabs; public \GtkNotebook $tabs;
public function __construct( public function __construct() {
?string $config = null
) {
// Init config // Init config
$this->config = new \Yggverse\Yoda\Model\Config( $this->config = new \Yggverse\Yoda\Model\Config;
$config
);
// Init database // Init database
$this->database = new \Yggverse\Yoda\Model\Database( $this->database = new \Yggverse\Yoda\Model\Database(