Skip to content

Commit

Permalink
allow to overwrite fields
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Oct 5, 2023
1 parent b3ff709 commit 5a26c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Facades/Collectors.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ protected static function buildClasses(array $classes): array
foreach ($classes as $class) {
$getClass = new $class();
if (! $getClass->disabled) {
$allClasses[] = $getClass->toArray();
$allClasses[str($class)->explode('\\')->last()] = $getClass->toArray();
}
}

Expand Down

0 comments on commit 5a26c26

Please sign in to comment.