Skip to content

Commit 68110b9

Browse files
bug #58627 Minor fixes around parse_url() checks (nicolas-grekas)
This PR was merged into the 5.4 branch. Discussion ---------- Minor fixes around `parse_url()` checks | Q | A | ------------- | --- | Branch? | 5.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | - | License | MIT Those are all minor but some can still lead to edge-case bugs. Commits ------- 1866ba29894 Minor fixes around parse_url() checks
2 parents 6c327cd + 85ccf43 commit 68110b9

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
@@ -259,7 +259,7 @@ public function getEnv(string $prefix, string $name, \Closure $getEnv)
259259
throw new RuntimeException(sprintf('Invalid URL in env var "%s".', $name));
260260
}
261261
if (!isset($params['scheme'], $params['host'])) {
262-
throw new RuntimeException(sprintf('Invalid URL env var "%s": schema and host expected, "%s" given.', $name, $env));
262+
throw new RuntimeException(sprintf('Invalid URL in env var "%s": scheme and host expected.', $name));
263263
}
264264
$params += [
265265
'port' => null,

0 commit comments

Comments
 (0)