From 6fd38c0d9b2d3d1f912f37a6590433d623066e0e Mon Sep 17 00:00:00 2001 From: soyuka Date: Fri, 12 Apr 2024 10:59:32 +0200 Subject: [PATCH] style: phpstan fixes --- .../Tests/Extractor/ResourceMetadataCompatibilityTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Metadata/Tests/Extractor/ResourceMetadataCompatibilityTest.php b/src/Metadata/Tests/Extractor/ResourceMetadataCompatibilityTest.php index f4d6b319faf..bee5b7fb30c 100644 --- a/src/Metadata/Tests/Extractor/ResourceMetadataCompatibilityTest.php +++ b/src/Metadata/Tests/Extractor/ResourceMetadataCompatibilityTest.php @@ -711,7 +711,7 @@ private function withStateOptions(array $values): ?OptionsInterface throw new \InvalidArgumentException('Only one options can be configured at a time.'); } - $configuration = reset($values); + $elasticsearchOptions = reset($values); switch (key($values)) { case 'elasticsearchOptions': if (class_exists(Options::class)) {