@@ 63-68 (lines=6) @@ | ||
60 | { |
|
61 | foreach ($input->getArguments() as $key => $value) { |
|
62 | // Add missing arguments to input if available from file configuration. |
|
63 | if ($value === null) { |
|
64 | $input->setArgument($key, $this[$key]); |
|
65 | } else { |
|
66 | // Otherwise CLI arguments overrides the existing configuration |
|
67 | $this[$key] = $value; |
|
68 | } |
|
69 | } |
|
70 | foreach ($input->getOptions() as $key => $value) { |
|
71 | if ($value === null) { |
|
@@ 71-75 (lines=5) @@ | ||
68 | } |
|
69 | } |
|
70 | foreach ($input->getOptions() as $key => $value) { |
|
71 | if ($value === null) { |
|
72 | $input->setOption($key, $this[$key]); |
|
73 | } else { |
|
74 | $this[$key] = $value; |
|
75 | } |
|
76 | } |
|
77 | return $this; |
|
78 | } |