Skip to content

Commit

Permalink
Update TableCommand.php (#49379)
Browse files Browse the repository at this point in the history
  • Loading branch information
PerryvanderMeer authored Dec 14, 2023
1 parent 2519088 commit c80d3eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Console/TableCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ protected function displayForCli(array $data)
$columns->each(function ($column) {
$this->components->twoColumnDetail(
$column['column'].' <fg=gray>'.$column['attributes']->implode(', ').'</>',
($column['default'] ? '<fg=gray>'.$column['default'].'</> ' : '').''.$column['type'].''
(! is_null($column['default']) ? '<fg=gray>'.$column['default'].'</> ' : '').''.$column['type'].''
);
});

Expand Down

0 comments on commit c80d3eb

Please sign in to comment.