Skip to content

Commit bc6a682

Browse files
committed
StyleCI, thanks
1 parent b12d419 commit bc6a682

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integrations/guzzle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<?php
22

3+
use function GuzzleHttp\Promise\rejection_for;
34
use Illuminated\Console\Exceptions\RuntimeException;
45
use Psr\Http\Message\RequestInterface;
56
use Psr\Http\Message\ResponseInterface;
67
use Psr\Log\LoggerInterface;
7-
use function GuzzleHttp\Promise\rejection_for;
88

99
if (!function_exists('iclogger_guzzle_middleware')) {
1010
/**
@@ -32,7 +32,7 @@ function iclogger_guzzle_middleware(LoggerInterface $logger, string $type = 'raw
3232
if (isset($shouldLogRequest) && !$shouldLogRequest($request)) {
3333
$message = "[{$method}] Calling `{$uri}`, body is not shown, according to the custom logic.";
3434
$context = [];
35-
} else if (empty($body)) {
35+
} elseif (empty($body)) {
3636
$message = "[{$method}] Calling `{$uri}`.";
3737
$context = [];
3838
} else {

0 commit comments

Comments
 (0)