Skip to content

Commit

Permalink
Update Exportable.php
Browse files Browse the repository at this point in the history
Add is_null handling to prevent NULL value from being skipped.
  • Loading branch information
leexin authored Aug 4, 2020
1 parent 6485818 commit 004db30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exportable.php
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private function transformRow($data)
}

})->filter(function ($value) {
return is_int($value) || is_float($value) || is_string($value);
return is_int($value) || is_float($value) || is_string($value) || is_null($value);
});
}

Expand Down

0 comments on commit 004db30

Please sign in to comment.