diff options
author | Marcin Łojewski <marcin.lojewski@mlojewski.me> | 2019-03-31 21:09:26 +0300 |
---|---|---|
committer | Marcin Łojewski <marcin.lojewski@mlojewski.me> | 2019-03-31 21:09:26 +0300 |
commit | c09499648b83c79a9517970bd33a6c24cae0eddc (patch) | |
tree | 32adba7f36f568aa7e424896569a59f3615efca8 | |
parent | f94def108b0cb79afb9f96ab515c22069d3f508f (diff) |
Add default values to constructor
-rw-r--r-- | lib/Crypto/CryptoParam.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/CryptoParam.php b/lib/Crypto/CryptoParam.php index d694cf2..773f356 100644 --- a/lib/Crypto/CryptoParam.php +++ b/lib/Crypto/CryptoParam.php @@ -53,7 +53,7 @@ class CryptoParam * @param $min int Minimal value for parameter. * @param $max int Maximum value for parameter. */ - public function __construct($name, $value, $min, $max) + public function __construct($name, $value = null, $min = null, $max = null) { $this->name = $name; $this->value = $value; |