Переглянути джерело

adding default to $hint within ctor of DatabaseSetupException

tags/v6.0.0alpha2
Thomas Mueller 11 роки тому
джерело
коміт
1ef66941a7
1 змінених файлів з 1 додано та 1 видалено
  1. 1
    1
      lib/setup.php

+ 1
- 1
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);
}

Завантаження…
Відмінити
Зберегти