Skip to content

Commit

Permalink
Fix double $ on PHP 8 (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
remzikocak committed Dec 29, 2020
1 parent 6accf62 commit 565c9b4
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ protected function getNameAndView(Throwable $throwable): ?array

if (count($matches) === 3) {
[, $variableName, $viewFile] = $matches;
$variableName = ltrim($variableName, '$');

return compact('variableName', 'viewFile');
}
Expand Down

0 comments on commit 565c9b4

Please sign in to comment.