Skip to content

Commit

Permalink
Update DatabaseQueryCollector.php (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gavrisimo authored Dec 3, 2022
1 parent bccfeb8 commit 2e67af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collectors/DatabaseQueryCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ private function parseBindings(string $sql, array $bindings, Connection $connect
$sql = str_replace(['%', '?'], ['%%', '%s'], $sql);

$handledBindings = array_map(function ($binding) {
if (is_numeric($binding)) {
if (is_null($binding) || is_numeric($binding)) {
return $binding;
}

Expand Down

0 comments on commit 2e67af2

Please sign in to comment.