1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

feat(core): Hide access for all core properties #467

This commit is contained in:
Awilum
2020-09-02 20:17:33 +03:00
parent 91d8be0d67
commit 0b02c334b9

View File

@@ -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;
}