Skip to content

Commit 340bb14

Browse files
xepozznicolas-grekas
authored andcommitted
Fixed #35084
1 parent af4f99f commit 340bb14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Dumper/ContextProvider/CliContextProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function getContext(): ?array
2525
}
2626

2727
return [
28-
'command_line' => $commandLine = implode(' ', $_SERVER['argv']),
28+
'command_line' => $commandLine = implode(' ', $_SERVER['argv'] ?? []),
2929
'identifier' => hash('crc32b', $commandLine.$_SERVER['REQUEST_TIME_FLOAT']),
3030
];
3131
}

0 commit comments

Comments
 (0)