diff --git a/Persister/QueuePagerPersister.php b/Persister/QueuePagerPersister.php index 9c2c471..f0dc07b 100644 --- a/Persister/QueuePagerPersister.php +++ b/Persister/QueuePagerPersister.php @@ -49,7 +49,7 @@ public function __construct( /** * {@inheritdoc} */ - public function insert(PagerInterface $pager, array $options = array()) + public function insert(PagerInterface $pager, array $options = array()): void { $pager->setMaxPerPage(empty($options['max_per_page']) ? 100 : $options['max_per_page']); diff --git a/composer.json b/composer.json index fe0564e..689fec1 100644 --- a/composer.json +++ b/composer.json @@ -5,9 +5,9 @@ "keywords": ["elasticsearch", "elastica", "fos", "performance"], "license": "MIT", "require": { - "php": "^7.1|^8.0", + "php": "^8.1", "symfony/framework-bundle": "^6.0|^7.0", - "friendsofsymfony/elastica-bundle": "^6.0", + "friendsofsymfony/elastica-bundle": "^7.0", "enqueue/enqueue-bundle": "^0.10" }, "require-dev": {