refactor: remove unnecessary code

This commit is contained in:
Andras Bacsai
2024-09-30 11:14:40 +02:00
parent cccd05f322
commit 6fe31c26a3

View File

@@ -126,11 +126,6 @@ class EnvironmentVariable extends Model
$env = $this->get_real_environment_variables($this->value, $resource);
return data_get($env, 'value', $env);
if (is_string($env)) {
return $env;
}
return $env->value;
}
);
}