Skip to content
Snippets Groups Projects
Commit 1ef66941 authored by Thomas Müller's avatar Thomas Müller
Browse files

adding default to $hint within ctor of DatabaseSetupException

parent 5c7d7549
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment