@@ -63,7 +63,7 @@ class Foo
63
63
use \Hyperf\Di\Aop\PropertyHandlerTrait;
64
64
function __construct()
65
65
{
66
- self:: __handlePropertyHandler(__CLASS__);
66
+ $this-> __handlePropertyHandler(__CLASS__);
67
67
}
68
68
} ' , $ code );
69
69
}
@@ -83,7 +83,7 @@ class Bar2 extends Bar
83
83
use \Hyperf\Di\Aop\PropertyHandlerTrait;
84
84
public function __construct(int $id)
85
85
{
86
- self:: __handlePropertyHandler(__CLASS__);
86
+ $this-> __handlePropertyHandler(__CLASS__);
87
87
parent::__construct($id);
88
88
}
89
89
public static function build()
@@ -112,7 +112,7 @@ public function getBar() : Bar
112
112
{
113
113
public function __construct()
114
114
{
115
- self:: __handlePropertyHandler(__CLASS__);
115
+ $this-> __handlePropertyHandler(__CLASS__);
116
116
$this->id = 9501;
117
117
}
118
118
};
@@ -141,7 +141,7 @@ class Bar4
141
141
use \Hyperf\Di\Aop\PropertyHandlerTrait;
142
142
function __construct()
143
143
{
144
- self:: __handlePropertyHandler(__CLASS__);
144
+ $this-> __handlePropertyHandler(__CLASS__);
145
145
}
146
146
public function toMethodString() : string
147
147
{
@@ -185,7 +185,7 @@ function __construct(int $id)
185
185
if (method_exists(parent::class, \'__construct \')) {
186
186
parent::__construct(...func_get_args());
187
187
}
188
- self:: __handlePropertyHandler(__CLASS__);
188
+ $this-> __handlePropertyHandler(__CLASS__);
189
189
}
190
190
public function getId() : int
191
191
{
0 commit comments