Skip to content

Commit

Permalink
#22 - Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Dec 13, 2019
1 parent def0ce6 commit ed930e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Helpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ function db_batch_insert(AbstractPdo $db, string $table, array $columns, array $

$str = rtrim($str, ',');
$str .= ';';
$query = sprintf("INSERT INTO `%s` (%s) VALUES %s",
$query = sprintf(
"INSERT INTO `%s` (%s) VALUES %s",
$table,
sprintf('`%s`', implode('`,`', $columns)),
$str
Expand Down

0 comments on commit ed930e0

Please sign in to comment.