Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
ucan-lab committed Apr 5, 2024
1 parent 5942e48 commit b4931d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/Http/Middleware/RequestLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ protected function isWrite(Request $request): bool
return true;
}

protected function write(Request $request): void
{
protected function write(Request $request): void{
$data = [
'request' => $request->all(),
'headers' => $request->headers->all(),
Expand Down
2 changes: 1 addition & 1 deletion src/Listeners/QueryExecutedLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function handle(QueryExecuted $event): void
if (is_string($binding)) {
$binding = "'{$binding}'";
} elseif (is_bool($binding)) {
$binding = $binding ? '1' : '0';
$binding=$binding ? '1' : '0';
} elseif (is_int($binding)) {
$binding = (string) $binding;
} elseif (is_float($binding)) {
Expand Down

0 comments on commit b4931d5

Please sign in to comment.