Skip to content

Commit

Permalink
🎨 Ensure the options are arrays
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x committed Oct 24, 2024
1 parent 5804594 commit d4db425
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Console/UsageCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public function handle()
}

$options = collect([
...$type->defaults,
...$type->supports,
...$type->defaults ?? [],
...$type->supports ?? [],
])->except('escaping_html');

table(['<fg=blue>Label</>', '<fg=blue>Name</>', '<fg=blue>Category</>', '<fg=blue>Options #</>', '<fg=blue>Source</>'], [[
Expand Down

0 comments on commit d4db425

Please sign in to comment.