We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bb0f55 commit 8f7d741Copy full SHA for 8f7d741
src/Illuminate/Support/Env.php
@@ -285,7 +285,7 @@ protected static function getOption($key)
285
*/
286
protected static function prepareQuotedValue(string $input)
287
{
288
- return strpos($input, '"') !== false
+ return str_contains($input, '"')
289
? "'".self::addSlashesExceptFor($input, ['"'])."'"
290
: '"'.self::addSlashesExceptFor($input, ["'"]).'"';
291
}
0 commit comments