modify
This commit is contained in:
@@ -34,7 +34,7 @@ use Snowflake\Snowflake;
|
|||||||
public function execute(mixed $class, mixed $method = null): mixed
|
public function execute(mixed $class, mixed $method = null): mixed
|
||||||
{
|
{
|
||||||
$injectValue = $this->parseInjectValue();
|
$injectValue = $this->parseInjectValue();
|
||||||
if (!($class instanceof ReflectionProperty)) {
|
if (!($method instanceof ReflectionProperty)) {
|
||||||
$class = new ReflectionProperty($class, $method);
|
$class = new ReflectionProperty($class, $method);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user