From 27a8f71b2744b307a595e5ce01790bd7cf4a47b0 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 27 Jun 2024 16:56:45 +0300 Subject: [PATCH] remove extra arguments --- src/Entity/App.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/Entity/App.php b/src/Entity/App.php index d85b3eb..a9e48d4 100644 --- a/src/Entity/App.php +++ b/src/Entity/App.php @@ -15,13 +15,9 @@ class App public \GtkHeaderBar $header; public \GtkNotebook $tabs; - public function __construct( - ?string $config = null - ) { + public function __construct() { // Init config - $this->config = new \Yggverse\Yoda\Model\Config( - $config - ); + $this->config = new \Yggverse\Yoda\Model\Config; // Init database $this->database = new \Yggverse\Yoda\Model\Database(