From 1303cbbd15a78ef7a2c47f073cc3dacfcf3d9aee Mon Sep 17 00:00:00 2001 From: yggverse Date: Sat, 13 Apr 2024 08:45:59 +0300 Subject: [PATCH] enshort construction --- src/Entity/Tab/Page.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Entity/Tab/Page.php b/src/Entity/Tab/Page.php index 7582d468..8dd65d2c 100644 --- a/src/Entity/Tab/Page.php +++ b/src/Entity/Tab/Page.php @@ -40,10 +40,10 @@ class Page $this->config = \Yggverse\Yoda\Model\File::getConfig()->app->tab->page; // Init DNS memory - $this->dns = new \Yggverse\Yoda\Model\Memory(); + $this->dns = new \Yggverse\Yoda\Model\Memory; // Init history - $this->history = new \Yggverse\Yoda\Model\History(); + $this->history = new \Yggverse\Yoda\Model\History; // Compose header $this->header = new \GtkBox( @@ -165,7 +165,7 @@ class Page } // Address field - $this->address = new \GtkEntry(); + $this->address = new \GtkEntry; $this->address->set_placeholder_text( $this->config->header->address->placeholder @@ -215,7 +215,7 @@ class Page } // Compose body - $this->content = new \GtkLabel(); + $this->content = new \GtkLabel; $this->content->set_use_markup( true @@ -238,7 +238,7 @@ class Page ); // Init scrolled container - $this->container = new \GtkScrolledWindow(); + $this->container = new \GtkScrolledWindow; $this->container->add( $this->content @@ -284,7 +284,7 @@ class Page $this->config->footer->margin ); - $this->status = new \GtkLabel(); + $this->status = new \GtkLabel; $this->footer->add( $this->status