Skip to content

Commit

Permalink
Fix mistyping
Browse files Browse the repository at this point in the history
  • Loading branch information
miguilimzero committed Aug 6, 2023
1 parent 807b95e commit 0c15a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generators/TableGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function getResourceTableSchema(array $visibleColumns, array $searchab
return (is_array($finalFormat)) ? $finalFormat[0] : $finalFormat;
});

$columnInstance->colors(function($state) use($enumDictionary, $key) {
$columnInstance->color(function($state) use($enumDictionary, $key) {
$dictionary = $enumDictionary[$key];

if (! is_array($dictionary[$state]) || ! array_key_exists(1, $dictionary[$state])) {
Expand Down

0 comments on commit 0c15a50

Please sign in to comment.