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 3c7ee34 commit 37746b2Copy full SHA for 37746b2
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