Skip to content

Commit

Permalink
Apply fixes from StyleCI (#255)
Browse files Browse the repository at this point in the history
Co-authored-by: StyleCI Bot <[email protected]>
  • Loading branch information
rap2hpoutre and StyleCIBot authored Feb 9, 2022
1 parent 31d4e4f commit 28183f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Importable.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ private function importSheet(SheetInterface $sheet, callable $callback = null)
private function toStrings($values)
{
foreach ($values as &$value) {
if ($value instanceof \Datetime) {
if ($value instanceof \DateTime) {
$value = $value->format('Y-m-d H:i:s');
} elseif ($value) {
$value = (string) $value;
Expand Down

0 comments on commit 28183f3

Please sign in to comment.