From 0b02c334b9a823863cd8130366f4504a783574a5 Mon Sep 17 00:00:00 2001 From: Awilum Date: Wed, 2 Sep 2020 20:17:33 +0300 Subject: [PATCH] feat(core): Hide access for all core properties #467 --- src/flextype/Foundation/Entries/Entries.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flextype/Foundation/Entries/Entries.php b/src/flextype/Foundation/Entries/Entries.php index f1903f6f..e0aab7ca 100755 --- a/src/flextype/Foundation/Entries/Entries.php +++ b/src/flextype/Foundation/Entries/Entries.php @@ -36,7 +36,7 @@ class Entries * @var array * @access private */ - public $entry = []; + private $entry = []; /** * Current entry create data array @@ -395,7 +395,7 @@ class Entries * @param string $key Key * @return mixed */ - public function __get(string $key) + public function &__get(string $key) { return $this->$key; }