Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rpkamp/Structr
Browse files Browse the repository at this point in the history
  • Loading branch information
Remon vd Kamp committed Mar 17, 2012
2 parents 8c642b2 + 0543ff3 commit f246fa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Structr/Tree/Composite/MapKeyNode.php
Expand Up @@ -29,8 +29,8 @@ public function defaultValue($value) {
return $this;
}

public function optional() {
$this->_optional = true;
public function optional($optional = true) {
$this->_optional = $optional;

return $this;
}
Expand Down

0 comments on commit f246fa1

Please sign in to comment.