Skip to content

Commit

Permalink
Don’t redeclare the dump helper if it already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Feb 29, 2024
1 parent 1353c9f commit d2eb35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function deprecated(string $message): bool
}
}

if (Helpers::hasOverride('dump') === false) { // @codeCoverageIgnore
if (Helpers::hasOverride('dump') === false && function_exists('dump') === false) { // @codeCoverageIgnore
/**
* Simple object and variable dumper
* to help with debugging.
Expand Down

0 comments on commit d2eb35f

Please sign in to comment.