Skip to content

Commit 6fe31c2

Browse files
committed
refactor: remove unnecessary code
1 parent cccd05f commit 6fe31c2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/Models/EnvironmentVariable.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,6 @@ public function realValue(): Attribute
126126
$env = $this->get_real_environment_variables($this->value, $resource);
127127

128128
return data_get($env, 'value', $env);
129-
if (is_string($env)) {
130-
return $env;
131-
}
132-
133-
return $env->value;
134129
}
135130
);
136131
}

0 commit comments

Comments
 (0)