Skip to content

Commit

Permalink
[HttpFoundation] Fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-grekas committed Nov 6, 2024
1 parent cd65d42 commit 5183b61
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,10 +302,6 @@ public static function create(string $uri, string $method = 'GET', array $parame
$server['REQUEST_METHOD'] = strtoupper($method);

$components = parse_url($uri);
if (false === $components) {
throw new \InvalidArgumentException(sprintf('Malformed URI "%s".', $uri));
}

if (false === $components) {
throw new BadRequestException('Invalid URI.');
}
Expand Down

0 comments on commit 5183b61

Please # to comment.