Skip to content

Commit

Permalink
Fix Syntax error
Browse files Browse the repository at this point in the history
Fix syntax error at laravel 8. Unexpected '(' on line 40.
  • Loading branch information
higorcriativa3 committed Dec 30, 2021
1 parent 378f33e commit 76f9607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/HandlesUpdates.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function addHandler($handler)
*/
public function clearHandlers()
{
$this->kernel = new (get_class($this->kernel));
$this->kernel = new get_class($this->kernel);
}

/**
Expand Down

0 comments on commit 76f9607

Please sign in to comment.