diff options
author | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-09-05 11:30:19 +0200 |
---|---|---|
committer | Ivan Enderlin <ivan.enderlin@hoa-project.net> | 2013-09-05 11:30:19 +0200 |
commit | 15c49f90754982b932cb73f3248e0a955a8ecfa5 (patch) | |
tree | 060ec71a4ad582ee978184adaf066ee2f247cecb /Model | |
parent | 869f42cfd28a3680ace4b910064b9982a4dbdcda (diff) | |
download | Praspel-15c49f90754982b932cb73f3248e0a955a8ecfa5.zip Praspel-15c49f90754982b932cb73f3248e0a955a8ecfa5.tar.gz Praspel-15c49f90754982b932cb73f3248e0a955a8ecfa5.tar.bz2 |
Allow an empty clause when constructing a variable
Diffstat (limited to 'Model')
-rw-r--r-- | Model/Variable.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Model/Variable.php b/Model/Variable.php index a7ebf4f..b12cefa 100644 --- a/Model/Variable.php +++ b/Model/Variable.php @@ -155,7 +155,7 @@ class Variable * @return void * @throw \Hoa\Praspel\Exception\Model */ - public function __construct ( $name, $local, Clause $clause ) { + public function __construct ( $name, $local, Clause $clause = null ) { $this->_name = $name; $this->_local = $local; |