Fix test failures
This commit is contained in:
parent
38075c6b9f
commit
675e780946
4 changed files with 100 additions and 103 deletions
|
@ -14,6 +14,9 @@ use Throwable;
|
|||
|
||||
class DisplayException extends PterodactylException
|
||||
{
|
||||
const LEVEL_WARNING = 'warning';
|
||||
const LEVEL_ERROR = 'error';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
|
@ -27,7 +30,7 @@ class DisplayException extends PterodactylException
|
|||
* @param string $level
|
||||
* @internal param mixed $log
|
||||
*/
|
||||
public function __construct($message, Throwable $previous = null, $level = 'error')
|
||||
public function __construct($message, Throwable $previous = null, $level = self::LEVEL_ERROR)
|
||||
{
|
||||
$this->level = $level;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue