refactor: remove unnecessary code
This commit is contained in:
parent
cccd05f322
commit
6fe31c26a3
1 changed files with 0 additions and 5 deletions
|
|
@ -126,11 +126,6 @@ public function realValue(): Attribute
|
||||||
$env = $this->get_real_environment_variables($this->value, $resource);
|
$env = $this->get_real_environment_variables($this->value, $resource);
|
||||||
|
|
||||||
return data_get($env, 'value', $env);
|
return data_get($env, 'value', $env);
|
||||||
if (is_string($env)) {
|
|
||||||
return $env;
|
|
||||||
}
|
|
||||||
|
|
||||||
return $env->value;
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue