Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/user_sql.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Łojewski <marcin.lojewski@mlojewski.me>2019-03-31 21:09:26 +0300
committerMarcin Łojewski <marcin.lojewski@mlojewski.me>2019-03-31 21:09:26 +0300
commitc09499648b83c79a9517970bd33a6c24cae0eddc (patch)
tree32adba7f36f568aa7e424896569a59f3615efca8
parentf94def108b0cb79afb9f96ab515c22069d3f508f (diff)
Add default values to constructor
-rw-r--r--lib/Crypto/CryptoParam.php2
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;