Skip to content

Commit

Permalink
Merge pull request #3 from lintaba/analysis-OMjrNP
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
lintaba authored Feb 1, 2022
2 parents 8268d9f + 76f3f0a commit fa758ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Exports/QuickExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ protected function isDate($value, $entry, $fieldName): bool
return $value instanceof DateTimeInterface
|| Str::of($fieldName)->endsWith('_at')
|| ($entry instanceof Model && $entry->hasCast(
$fieldName,
['date', 'datetime', 'immutable_date', 'immutable_datetime']
));
$fieldName,
['date', 'datetime', 'immutable_date', 'immutable_datetime']
));
}

protected function getName(): string
Expand Down

0 comments on commit fa758ac

Please sign in to comment.