8000
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 5ad8c2a commit 656fc3b< 8000 /path>Copy full SHA for 656fc3b
src/Symfony/Component/Console/Input/ArgvInput.php
@@ -48,7 +48,7 @@ class ArgvInput extends Input
48
*/
49
public function __construct(array $argv = null, InputDefinition $definition = null)
50
{
51
- $argv = null !== $argv ? $argv : (isset($_SERVER['argv']) ? $_SERVER['argv'] : []);
+ $argv = $argv ?? $_SERVER['argv'] ?? [];
52
53
// strip the application name
54
array_shift($argv);
0 commit comments