Skip to content
This repository was archived by the owner on Mar 1, 2023. It is now read-only.

Commit 46bb997

Browse files
authored
fixed env value, should always be a string (#88)
1 parent 5b5c0dd commit 46bb997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Automatic/Configurator/EnvConfigurator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function configure(PackageContract $package): void
3838
continue;
3939
}
4040

41-
$value = self::expandTargetDir($this->options, $value);
41+
$value = self::expandTargetDir($this->options, (string) $value);
4242

4343
if (\strpbrk($value, " \t\n&!\"") !== false) {
4444
$value = '"' . \str_replace(['\\', '"', "\t", "\n"], ['\\\\', '\\"', '\t', '\n'], $value) . '"';

0 commit comments

Comments
 (0)