Skip to content

Commit

Permalink
Annotate config array generics
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Oct 29, 2023
1 parent dbcb3ff commit a03ca55
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ protected function runPreBuildActions(): void
if ($this->option('no-api')) {
$this->info('Disabling external API calls');
$this->newLine();
/** @var array<string, string> $config */
$config = Config::getArray('hyde.features', []);
unset($config[array_search('torchlight', $config)]);
Config::set(['hyde.features' => $config]);
Expand Down

0 comments on commit a03ca55

Please sign in to comment.