summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Light <sam@lightscale.co.uk>2025-07-07 00:02:05 +0100
committerSam Light <samlight1994@gmail.com>2025-07-07 00:02:05 +0100
commitad381d7c5d50161f45631d0d08db5152e8e6946b (patch)
treecfaf394ebcda8b1f80c8451384b84799f093bb2d
parent48144633fbf15374f709cb9fa675a7ce303fd003 (diff)
Change status to getStatusCodeHEADv1.1.2master
-rw-r--r--src/Http/AccessLogMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Http/AccessLogMiddleware.php b/src/Http/AccessLogMiddleware.php
index 1ee3fa5..e5ed1fd 100644
--- a/src/Http/AccessLogMiddleware.php
+++ b/src/Http/AccessLogMiddleware.php
@@ -41,7 +41,7 @@ class AccessLogMiddleware
$props = $this->properties($request, $response);
$log = new $model([
'path' => $request->path(),
- 'status' => $response->status(),
+ 'status' => $response->getStatusCode(),
'method' => $request->method(),
'properties' => empty($props) ? null : $props,
]);