Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Aug 18, 2022
1 parent c07be0f commit 2cf5c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Listener/DbQueryExecutedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function process(object $event): void
if ($position === false) {
break;
}
$value = "'$value'";
$value = "'{$value}'";
$sql = substr_replace($sql, $value, $position, 1);
$position += strlen($value);
}
Expand Down

0 comments on commit 2cf5c4b

Please sign in to comment.