diff --git a/src/Entity/Browser/Menu/Tab/Add.php b/src/Entity/Browser/Menu/Tab/Add.php index 276c29bf..4d2f6d06 100644 --- a/src/Entity/Browser/Menu/Tab/Add.php +++ b/src/Entity/Browser/Menu/Tab/Add.php @@ -4,18 +4,20 @@ declare(strict_types=1); namespace Yggverse\Yoda\Entity\Browser\Menu\Tab; +use \Yggverse\Yoda\Entity\Browser\Menu\Tab; + class Add { public \GtkMenuItem $gtk; // Dependencies - public \Yggverse\Yoda\Entity\Browser\Menu\Tab $tab; + public Tab $tab; // Defaults private string $_label = 'Add'; public function __construct( - \Yggverse\Yoda\Entity\Browser\Menu\Tab $tab + Tab $tab ) { // Init dependencies $this->tab = $tab; diff --git a/src/Entity/Browser/Menu/Tab/Close.php b/src/Entity/Browser/Menu/Tab/Close.php index 15b2a1f8..44fe90d4 100644 --- a/src/Entity/Browser/Menu/Tab/Close.php +++ b/src/Entity/Browser/Menu/Tab/Close.php @@ -4,19 +4,21 @@ declare(strict_types=1); namespace Yggverse\Yoda\Entity\Browser\Menu\Tab; +use \Yggverse\Yoda\Entity\Browser\Menu\Tab; + class Close { public \GtkMenuItem $gtk; // Dependencies - public \Yggverse\Yoda\Entity\Browser\Menu\Tab $tab; + public Tab $tab; // Defaults private string $_label = 'Close'; private string $_tooltip = 'Close active tab (double click on tab)'; public function __construct( - \Yggverse\Yoda\Entity\Browser\Menu\Tab $tab + Tab $tab ) { // Init dependencies $this->tab = $tab;