Browse Source

fix access level for default values

PHP-GTK3
yggverse 5 months ago
parent
commit
4b296f309c
  1. 6
      src/Abstract/Entity/Entry.php
  2. 2
      src/Entity/Browser/Container/Tab/Page/Navbar/Request.php
  3. 2
      src/Entity/Browser/History/Container/Navbar/Filter.php

6
src/Abstract/Entity/Entry.php

@ -8,9 +8,9 @@ abstract class Entry
{ {
public \GtkEntry $gtk; public \GtkEntry $gtk;
private int $_length = 1024; protected int $_length = 1024;
private string $_placeholder = ''; protected string $_placeholder = '';
private string $_value = ''; protected string $_value = '';
public function __construct() public function __construct()
{ {

2
src/Entity/Browser/Container/Tab/Page/Navbar/Request.php

@ -6,7 +6,7 @@ namespace Yggverse\Yoda\Entity\Browser\Container\Tab\Page\Navbar;
class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Tab\Page\Navbar\Entry class Request extends \Yggverse\Yoda\Abstract\Entity\Browser\Container\Tab\Page\Navbar\Entry
{ {
private string $_placeholder = 'URL or search term...'; protected string $_placeholder = 'URL or search term...';
protected function _onActivate( protected function _onActivate(
\GtkEntry $entry \GtkEntry $entry

2
src/Entity/Browser/History/Container/Navbar/Filter.php

@ -6,7 +6,7 @@ namespace Yggverse\Yoda\Entity\Browser\History\Container\Navbar;
class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navbar\Entry class Filter extends \Yggverse\Yoda\Abstract\Entity\Browser\History\Container\Navbar\Entry
{ {
private string $_placeholder = 'Search in history...'; protected string $_placeholder = 'Search in history...';
protected function _onActivate( protected function _onActivate(
\GtkEntry $entry \GtkEntry $entry

Loading…
Cancel
Save