From 4b296f309c5cbf97a7663344111f038e0fbc5ba3 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 7 Jul 2024 23:15:11 +0300 Subject: [PATCH] fix access level for default values --- src/Abstract/Entity/Entry.php | 6 +++--- src/Entity/Browser/Container/Tab/Page/Navbar/Request.php | 2 +- src/Entity/Browser/History/Container/Navbar/Filter.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Abstract/Entity/Entry.php b/src/Abstract/Entity/Entry.php index 1a8ad192..6a87912f 100644 --- a/src/Abstract/Entity/Entry.php +++ b/src/Abstract/Entity/Entry.php @@ -8,9 +8,9 @@ abstract class Entry { public \GtkEntry $gtk; - private int $_length = 1024; - private string $_placeholder = ''; - private string $_value = ''; + protected int $_length = 1024; + protected string $_placeholder = ''; + protected string $_value = ''; public function __construct() { diff --git a/src/Entity/Browser/Container/Tab/Page/Navbar/Request.php b/src/Entity/Browser/Container/Tab/Page/Navbar/Request.php index 447ecbfa..30ed3731 100644 --- a/src/Entity/Browser/Container/Tab/Page/Navbar/Request.php +++ b/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 { - private string $_placeholder = 'URL or search term...'; + protected string $_placeholder = 'URL or search term...'; protected function _onActivate( \GtkEntry $entry diff --git a/src/Entity/Browser/History/Container/Navbar/Filter.php b/src/Entity/Browser/History/Container/Navbar/Filter.php index a33765ac..8c4f393f 100644 --- a/src/Entity/Browser/History/Container/Navbar/Filter.php +++ b/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 { - private string $_placeholder = 'Search in history...'; + protected string $_placeholder = 'Search in history...'; protected function _onActivate( \GtkEntry $entry