diff --git a/tests/php/FacetedSearch/Product/SearchProviderTest.php b/tests/php/FacetedSearch/Product/SearchProviderTest.php index 9f73b5817..e763cbce1 100644 --- a/tests/php/FacetedSearch/Product/SearchProviderTest.php +++ b/tests/php/FacetedSearch/Product/SearchProviderTest.php @@ -110,7 +110,7 @@ function ($arg) use ($properties) { return $filter; } - protected function setUp() + protected function setUp(): void { $this->database = Mockery::mock(Db::class); $this->context = Mockery::mock(Context::class); diff --git a/tests/php/FacetedSearch/Product/SearchTest.php b/tests/php/FacetedSearch/Product/SearchTest.php index ac6ad153a..cdc71fc7e 100644 --- a/tests/php/FacetedSearch/Product/SearchTest.php +++ b/tests/php/FacetedSearch/Product/SearchTest.php @@ -39,7 +39,7 @@ class SearchTest extends MockeryTestCase */ private $search; - protected function setUp() + protected function setUp(): void { $mock = Mockery::mock(Configuration::class); $mock->shouldReceive('get')