Skip to content

Commit

Permalink
Fix redundant type casts
Browse files Browse the repository at this point in the history
  • Loading branch information
fancyweb committed Nov 25, 2021
1 parent ffc24b0 commit 4f0521c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DataCollector/RequestDataCollector.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function collect(Request $request, Response $response/*, \Throwable $exce
'method' => $request->getMethod(),
'controller' => $this->parseController($request->attributes->get('_controller')),
'status_code' => $statusCode,
'status_text' => Response::$statusTexts[(int) $statusCode],
'status_text' => Response::$statusTexts[$statusCode],
]),
0, '/', null, $request->isSecure(), true, false, 'lax'
));
Expand Down

0 comments on commit 4f0521c

Please sign in to comment.