adding default to $hint within ctor of DatabaseSetupException
This commit is contained in:
parent
5c7d7549ea
commit
1ef66941a7
|
@ -4,7 +4,7 @@ class DatabaseSetupException extends Exception
|
||||||
{
|
{
|
||||||
private $hint;
|
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;
|
$this->hint = $hint;
|
||||||
parent::__construct($message, $code, $previous);
|
parent::__construct($message, $code, $previous);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue