adding default to $hint within ctor of DatabaseSetupException

This commit is contained in:
Thomas Mueller 2013-06-14 15:38:09 +02:00
parent 5c7d7549ea
commit 1ef66941a7
1 changed files with 1 additions and 1 deletions

View File

@ -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);
} }