From: Thomas Mueller Date: Fri, 14 Jun 2013 13:38:09 +0000 (+0200) Subject: adding default to $hint within ctor of DatabaseSetupException X-Git-Tag: v6.0.0alpha2~628^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1ef66941a795fbd29a7532480dbe2d2e361cb5c7;p=nextcloud-server.git adding default to $hint within ctor of DatabaseSetupException --- diff --git a/lib/setup.php b/lib/setup.php index 5a513bccae6..738a99fb7cc 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -4,7 +4,7 @@ class DatabaseSetupException extends Exception { private $hint; - public function __construct($message, $hint, $code = 0, Exception $previous = null) { + public function __construct($message, $hint = '', $code = 0, Exception $previous = null) { $this->hint = $hint; parent::__construct($message, $code, $previous); }