Browse Source

remove extra arguments

PHP-GTK3
yggverse 5 months ago
parent
commit
27a8f71b27
  1. 8
      src/Entity/App.php

8
src/Entity/App.php

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

Loading…
Cancel
Save