Skip to content

Commit

Permalink
Update command to use features enum
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Apr 8, 2024
1 parent 05dc52b commit e6277b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/framework/src/Console/Commands/DebugCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ protected function printVerbosePathInformation(): void

protected function printEnabledFeatures(): void
{
/** @var array<string, string> $features */
/** @var array<\Hyde\Foundation\Concerns\Feature> $features */
$features = Config::getArray('hyde.features', []);

foreach ($features as $feature) {
$this->line(" - $feature");
$this->line(" - $feature->name");
}
}
}

0 comments on commit e6277b4

Please sign in to comment.