Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Jan 14, 2019
2 parents 9514faa + 800e01e commit 2a21132
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/Argument/ArgumentValueList.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,15 @@
class ArgumentValueList {
protected $valueMap = [];

public function set(string $key, string $value):void {
public function set(string $key, string $value = null):void {
$this->valueMap[$key] = $value;
}

public function get(string $key):string {
return $this->valueMap[$key];
}

public function contains(string $key):bool {
return isset($this->valueMap[$key]);
}
}
2 changes: 1 addition & 1 deletion src/Command/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ abstract class Command {
/** @var Parameter[] */
protected $requiredParameterList = [];

public function setOutput(Stream $output) {
public function setOutput(Stream $output = null) {
$this->output = $output;
}

Expand Down

0 comments on commit 2a21132

Please sign in to comment.