diff --git a/.gitignore b/.gitignore index 485dee6..331c58f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .idea +vendor \ No newline at end of file diff --git a/composer.json b/composer.json index 0f000a6..c53b100 100644 --- a/composer.json +++ b/composer.json @@ -11,9 +11,9 @@ } ], "require": { - "php": "^7.1", - "paknahad/jsonapi-bundle": "^3.0", - "andreas-glaser/doctrine-rql": "^0.3" + "php": "^8.0", + "paknahad/jsonapi-bundle": "^5.0", + "andreas-glaser/doctrine-rql": "^0.4" }, "minimum-stability": "dev", "prefer-stable": true, diff --git a/src/Finder/Rql.php b/src/Finder/Rql.php index 675ca22..a41c2bf 100644 --- a/src/Finder/Rql.php +++ b/src/Finder/Rql.php @@ -61,11 +61,4 @@ public function filterQuery(): void { public function sortQuery(): void { } - - /** - * {@inheritDoc} - */ - public function sortQuery(): void - { - } } diff --git a/src/MnugterJsonApiRqlFilterBundle.php b/src/MnugterJsonApiRqlFilterBundle.php index b2dd32a..feb99d8 100644 --- a/src/MnugterJsonApiRqlFilterBundle.php +++ b/src/MnugterJsonApiRqlFilterBundle.php @@ -3,12 +3,12 @@ namespace Mnugter\JsonApiRqlFinderBundle; use Mnugter\JsonApiRqlFinderBundle\DependencyInjection\JsonApiRqlFinderExtension; -use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\ExtensionInterface; use Symfony\Component\HttpKernel\Bundle\Bundle; class MnugterJsonApiRqlFilterBundle extends Bundle { - public function getContainerExtension() + public function getContainerExtension(): ?ExtensionInterface { return new JsonApiRqlFinderExtension(); }