Skip to content

Commit 4f0521c

Browse files
committed
Fix redundant type casts
1 parent ffc24b0 commit 4f0521c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DataCollector/RequestDataCollector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ public function collect(Request $request, Response $response/*, \Throwable $exce
150150
'method' => $request->getMethod(),
151151
'controller' => $this->parseController($request->attributes->get('_controller')),
152152
'status_code' => $statusCode,
153-
'status_text' => Response::$statusTexts[(int) $statusCode],
153+
'status_text' => Response::$statusTexts[$statusCode],
154154
]),
155155
0, '/', null, $request->isSecure(), true, false, 'lax'
156156
));

0 commit comments

Comments
 (0)