Skip to content

Commit 2292c59

Browse files
kick-the-bucketderrabus
authored andcommitted
Remove unused @throws tags and handling of never thrown exceptions
1 parent 2a35d14 commit 2292c59

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

DataCollector/RequestDataCollector.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,7 @@ public function collect(Request $request, Response $response/*, \Throwable $exce
5353
}
5454
}
5555

56-
try {
57-
$content = $request->getContent();
58-
} catch (\LogicException $e) {
59-
// the user already got the request content as a resource
60-
$content = false;
61-
}
56+
$content = $request->getContent();
6257

6358
$sessionMetadata = [];
6459
$sessionAttributes = [];

0 commit comments

Comments
 (0)