Skip to content

Commit c1e1ef1

Browse files
committed
fix
1 parent 840fb8e commit c1e1ef1

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/Exception/ErrorException.php

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,7 @@ class ErrorException extends \ErrorException implements FriendlyExceptionInterfa
4040
];
4141

4242
/** @psalm-param DebugBacktraceType $backtrace */
43-
public function __construct(
44-
string $message = '',
45-
int $code = 0,
46-
int $severity = 1,
47-
string $filename = __FILE__,
48-
int $line = __LINE__,
49-
Exception $previous = null,
50-
private readonly array $backtrace = [],
51-
) {
43+
public function __construct(string $message = '', int $code = 0, int $severity = 1, string $filename = __FILE__, int $line = __LINE__, Exception $previous = null, private readonly array $backtrace = []) {
5244
parent::__construct($message, $code, $severity, $filename, $line, $previous);
5345
$this->addXDebugTraceToFatalIfAvailable();
5446
}

0 commit comments

Comments
 (0)