@@ -5,9 +5,9 @@ discard block |
||
5 | 5 | trait PropertiesBag |
6 | 6 | { |
7 | 7 | private $attributes = []; |
8 | - private $data = []; |
|
8 | + private $data = []; |
|
9 | 9 | |
10 | - protected function setPropertiesBag($attributes) |
|
10 | + protected function setPropertiesBag($attributes) |
|
11 | 11 | { |
12 | 12 | $this->attributes = $attributes; |
13 | 13 | } |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | return array_key_exists($name, $this->data); |
42 | 42 | } |
43 | 43 | |
44 | - public function __set($name, $value) |
|
44 | + public function __set($name, $value) |
|
45 | 45 | { |
46 | 46 | if( ! $this->isPropertyAllowed($name) ) { |
47 | 47 | $trace = debug_backtrace(); |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | $this->data[$name] = $value; |
57 | 57 | } |
58 | 58 | |
59 | - public function __get($name) |
|
59 | + public function __get($name) |
|
60 | 60 | { |
61 | 61 | if( ! $this->isPropertyAllowed($name) ) { |
62 | 62 | $trace = debug_backtrace(); |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | return $this->data[$name]; |
82 | 82 | } |
83 | 83 | |
84 | - public function __isset($name) |
|
84 | + public function __isset($name) |
|
85 | 85 | { |
86 | 86 | if( ! $this->isPropertyAllowed($name) ) { |
87 | 87 | $trace = debug_backtrace(); |