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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user