From c09499648b83c79a9517970bd33a6c24cae0eddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20=C5=81ojewski?= Date: Sun, 31 Mar 2019 20:09:26 +0200 Subject: [PATCH] Add default values to constructor --- lib/Crypto/CryptoParam.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;