Browse Source

use namespace

PHP-GTK3
yggverse 4 months ago
parent
commit
477f4ff441
  1. 7
      src/Entity/Browser/Header/Navigation.php

7
src/Entity/Browser/Header/Navigation.php

@ -4,6 +4,7 @@ declare(strict_types=1); @@ -4,6 +4,7 @@ declare(strict_types=1);
namespace Yggverse\Yoda\Entity\Browser\Header;
use \Yggverse\Yoda\Entity\Browser\Header;
use \Yggverse\Yoda\Entity\Browser\Menu;
class Navigation
@ -11,16 +12,16 @@ class Navigation @@ -11,16 +12,16 @@ class Navigation
public \GtkMenuButton $gtk;
// Dependencies
public \Yggverse\Yoda\Entity\Browser\Header $header;
public Header $header;
// Requirements
public \Yggverse\Yoda\Entity\Browser\Menu $menu;
public Menu $menu;
// Defaults
private string $_tooltip = 'Navigation';
public function __construct(
\Yggverse\Yoda\Entity\Browser\Header $header
Header $header
) {
// Init dependencies
$this->header = $header;

Loading…
Cancel
Save