Skip to content

Commit 19fcc69

Browse files
authored
Merge pull request #25 from r2luna/fix/formatting
style: Fix typo in class reference variable
2 parents 426fb92 + 70e24c0 commit 19fcc69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Tasks/Middleware/FinalizeTaskMiddleware.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
final class FinalizeTaskMiddleware
1414
{
1515
/**
16-
* Run the next middleware and then finalize the task.
16+
* Run the next middleware and then finalize the task.
1717
*
1818
* @throws Throwable
1919
*/
@@ -34,7 +34,7 @@ public function handle(Task $task, callable $next): void
3434
'file' => $e->getFile(),
3535
];
3636

37-
event(new TasksError(get_class($task), payload: $task->payload, runProcessId: $runProcessId, meta: $meta));
37+
event(new TasksError($task::class, payload: $task->payload, runProcessId: $runProcessId, meta: $meta));
3838

3939
$task->fail($e);
4040

0 commit comments

Comments
 (0)