File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class PropertyAccessorBuilder
47
47
*
48
48
* @return $this
49
49
*/
50
- public function enableMagicMethods (): self
50
+ public function enableMagicMethods (): static
51
51
{
52
52
$ this ->magicMethods = PropertyAccessor::MAGIC_GET | PropertyAccessor::MAGIC_SET | PropertyAccessor::MAGIC_CALL ;
53
53
@@ -59,7 +59,7 @@ public function enableMagicMethods(): self
59
59
*
60
60
* @return $this
61
61
*/
62
- public function disableMagicMethods (): self
62
+ public function disableMagicMethods (): static
63
63
{
64
64
$ this ->magicMethods = PropertyAccessor::DISALLOW_MAGIC_METHODS ;
65
65
@@ -93,7 +93,7 @@ public function enableMagicGet(): self
93
93
*
94
94
* @return $this
95
95
*/
96
- public function enableMagicSet (): self
96
+ public function enableMagicSet (): static
97
97
{
98
98
$ this ->magicMethods |= PropertyAccessor::MAGIC_SET ;
99
99
@@ -117,7 +117,7 @@ public function disableMagicCall(): static
117
117
*
118
118
* @return $this
119
119
*/
120
- public function disableMagicGet (): self
120
+ public function disableMagicGet (): static
121
121
{
122
122
$ this ->magicMethods &= ~PropertyAccessor::MAGIC_GET ;
123
123
@@ -129,7 +129,7 @@ public function disableMagicGet(): self
129
129
*
130
130
* @return $this
131
131
*/
132
- public function disableMagicSet (): self
132
+ public function disableMagicSet (): static
133
133
{
134
134
$ this ->magicMethods &= ~PropertyAccessor::MAGIC_SET ;
135
135
You can’t perform that action at this time.
0 commit comments