Skip to content

Commit

Permalink
Use array helper to match code style
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 9, 2024
1 parent 89d735d commit deb844f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/framework/src/Facades/Features.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public function toArray(): array

protected function boot(): array
{
return array_map(fn (Feature $feature): string => $feature->value, $this->getConfiguredFeatures());
return Arr::map($this->getConfiguredFeatures(), fn (Feature $feature): string => $feature->value);
}

/** @return array<Feature> */
Expand Down

0 comments on commit deb844f

Please sign in to comment.