Skip to content

Commit 6a2cecd

Browse files
Merge branch '3.4' into 4.4
* 3.4: Various cleanups
2 parents 81ebfa0 + eebe478 commit 6a2cecd

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
@@ -227,7 +227,7 @@ public function getEnv($prefix, $name, \Closure $getEnv)
227227
$env = json_decode($env, true);
228228

229229
if (JSON_ERROR_NONE !== json_last_error()) {
230-
throw new RuntimeException(sprintf('Invalid JSON in env var "%s": '.json_last_error_msg(), $name));
230+
throw new RuntimeException(sprintf('Invalid JSON in env var "%s": ', $name).json_last_error_msg());
231231
}
232232

233233
if (null !== $env && !\is_array($env)) {

0 commit comments

Comments
 (0)