Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Nov 1, 2022
1 parent 5b517e8 commit d2e0e85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Illuminate/Foundation/Concerns/ResolvesDumpSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ trait ResolvesDumpSource
];

/**
* All of the trace names and its keys.
* Files that require special trace handling and their levels.
*
* @var array<string, int>
*/
protected static $traceNames = [
protected static $adjustableTraces = [
'symfony/var-dumper/Resources/functions/dump.php' => 1,
'Illuminate/Collections/Traits/EnumeratesValues.php' => 4,
];
Expand Down Expand Up @@ -70,7 +70,7 @@ public function resolveDumpSource()
continue;
}

foreach (self::$traceNames as $name => $key) {
foreach (self::$adjustableTraces as $name => $key) {
if (str_ends_with(
$traceFile['file'],
str_replace('/', DIRECTORY_SEPARATOR, $name)
Expand Down

0 comments on commit d2e0e85

Please sign in to comment.