Skip to content

Commit fdf2703

Browse files
committed
formatting
1 parent 67a90f0 commit fdf2703

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Commands/Concerns/InteractsWithIO.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,8 @@ public function requestInfo($request, $verbosity = null)
9494
$terminalWidth = $this->getTerminalWidth();
9595

9696
$url = parse_url($request['url'], PHP_URL_PATH) ?: '/';
97-
98-
$memory = number_format(round($request['memory'] ?? memory_get_usage() / 1024 / 1204, 2), 2, '.', '');
99-
10097
$duration = number_format(round($request['duration'], 2), 2, '.', '');
98+
$memory = number_format(round($request['memory'] ?? memory_get_usage() / 1024 / 1204, 2), 2, '.', '');
10199

102100
['method' => $method, 'statusCode' => $statusCode] = $request;
103101

tests/CommandTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function test_request()
7878
200 GET /welcome ..........23.43 mb 10.00 ms
7979
404 POST / ..............26.43 mb 1234.00 ms
8080
500 POST /foofoofoofoofoofo... 23.46 mb 4567854.00 ms
81-
81+
8282
EOF, $output->fetch());
8383
}
8484

0 commit comments

Comments
 (0)