Skip to content

Commit

Permalink
fixup! Introduced REST URI Parser
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Jul 27, 2023
1 parent baac6d3 commit eba7961
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bundle/UriParser/UriParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

namespace Ibexa\Bundle\Rest\UriParser;

use Ibexa\Bundle\Rest\EventListener\RequestListener;
use Ibexa\Contracts\Rest\Exceptions\InvalidArgumentException;
use Ibexa\Contracts\Rest\UriParser\UriParserInterface;
use Symfony\Component\HttpFoundation\Request;
Expand Down Expand Up @@ -91,7 +90,6 @@ public function isRestRequest(Request $request): bool

public function hasRestPrefix(string $uri): bool
{
// this entire parser needs to be moved to ibexa/rest and RequestListener should use it instead
return (bool)preg_match($this->restPrefixPattern, $uri);
}
}

0 comments on commit eba7961

Please sign in to comment.