Skip to content

Commit eebe478

Browse files
Various cleanups
1 parent 3beb848 commit eebe478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EnvVarProcessor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function getEnv($prefix, $name, \Closure $getEnv)
125125
$env = json_decode($env, true);
126126

127127
if (JSON_ERROR_NONE !== json_last_error()) {
128-
throw new RuntimeException(sprintf('Invalid JSON in env var "%s": '.json_last_error_msg(), $name));
128+
throw new RuntimeException(sprintf('Invalid JSON in env var "%s": ', $name)).json_last_error_msg();
129129
}
130130

131131
if (!\is_array($env)) {

0 commit comments

Comments
 (0)