Skip to content

Commit b1e15ab

Browse files
committed
cs fix
1 parent 521d671 commit b1e15ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Handler/Logging.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
use function basename;
2525
use function get_current_user;
2626
use function getcwd;
27+
use function implode;
2728
use function php_uname;
2829
use function str_replace;
2930

@@ -167,14 +168,14 @@ private function collectErrorExceptionData(Throwable $throwable): array
167168
private function collectErrorExceptionExtraData(array $collectedExceptionData, ?RequestInterface $request): array
168169
{
169170
if (! $request instanceof HttpRequest) {
170-
$argv = $_SERVER['argv'] ?? [];
171+
$argv = $_SERVER['argv'] ?? [];
171172
$serverUrl = php_uname('n');
172-
$url = $serverUrl . ':' . basename((string) getcwd())
173+
$url = $serverUrl . ':' . basename((string) getcwd())
173174
. ' ' . get_current_user()
174175
. '$ ' . PHP_BINARY;
175176

176177
$params = implode(' ', $argv);
177-
$url .= $params;
178+
$url .= $params;
178179
} else {
179180
$http = $request->getUri();
180181
$serverUrl = $http->getScheme() . '://' . $http->getHost();

0 commit comments

Comments
 (0)