Skip to content

Commit 2ae7ac4

Browse files
authored
Update ServiceProvider.php
1 parent 9734637 commit 2ae7ac4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public function boot()
3030
$bindings = $query->connection->prepareBindings($query->bindings);
3131
$pdo = $query->connection->getPdo();
3232
$realSql = vsprintf($sqlWithPlaceholders, array_map([$pdo, 'quote'], $bindings));
33-
$durationStr = $this->formatDuration($query->time / 1000);
33+
$duration = $this->formatDuration($query->time / 1000);
3434

35-
Log::debug(sprintf('[%s] %s', $durationStr, $realSql));
35+
Log::debug(sprintf('[%s] %s', $duration, $realSql));
3636
});
3737
}
3838

0 commit comments

Comments
 (0)