diff --git a/composer.json b/composer.json index 80bc083..fd72203 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,8 @@ }, "require": { "ruflin/elastica": "3.1.0", - "symbiote/silverstripe-queuedjobs": "~2.10" + "symbiote/silverstripe-queuedjobs": "~2.10", + "php": ">=7.2" }, "autoload": { "psr-4": { "Heyday\\Elastica\\": "src/" } diff --git a/src/ElasticaService.php b/src/ElasticaService.php index f0c1de6..b6883d7 100644 --- a/src/ElasticaService.php +++ b/src/ElasticaService.php @@ -10,7 +10,7 @@ /** * A service used to interact with elastic search. */ -class ElasticaService extends \Object +class ElasticaService extends \SS_Object { /**