Skip to content

Commit 220a7c8

Browse files
authored
Merge pull request #28 from RasmusStahl/main
Fix incorrect argument order when calling previous error handler
2 parents 2c7378e + 3ab830f commit 220a7c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Flare.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ public function handleError(mixed $code, string $message, string $file = '', int
295295
if ($this->previousErrorHandler) {
296296
return call_user_func(
297297
$this->previousErrorHandler,
298-
$message,
299298
$code,
299+
$message,
300300
$file,
301301
$line
302302
);

0 commit comments

Comments
 (0)