Browse Source

use namespace

PHP-GTK3
yggverse 4 months ago
parent
commit
ec57e7830c
  1. 6
      src/Entity/Browser/Container/Page/Title.php

6
src/Entity/Browser/Container/Page/Title.php

@ -4,6 +4,8 @@ declare(strict_types=1); @@ -4,6 +4,8 @@ declare(strict_types=1);
namespace Yggverse\Yoda\Entity\Browser\Container\Page;
use \Yggverse\Yoda\Entity\Browser\Container\Page;
class Title
{
public \GtkLabel $gtk;
@ -12,7 +14,7 @@ class Title @@ -12,7 +14,7 @@ class Title
public ?string $subtitle = null;
// Dependencies
public \Yggverse\Yoda\Entity\Browser\Container\Page $page;
public Page $page;
// Defaults
private int $_ellipsize = 3;
@ -22,7 +24,7 @@ class Title @@ -22,7 +24,7 @@ class Title
private ?string $_tooltip = null;
public function __construct(
\Yggverse\Yoda\Entity\Browser\Container\Page $page,
Page $page,
) {
// Init dependencies
$this->page = $page;

Loading…
Cancel
Save