From ba3f34cd4f13813cee9c48394b4f3f8bbe7e574c Mon Sep 17 00:00:00 2001 From: Alexander Schranz Date: Wed, 3 Jul 2024 09:57:01 +0200 Subject: [PATCH] Fix PHP 7.3 compatibility --- Content/StructureResolver.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content/StructureResolver.php b/Content/StructureResolver.php index 04cc8f3..4f8cfce 100644 --- a/Content/StructureResolver.php +++ b/Content/StructureResolver.php @@ -126,7 +126,7 @@ public function resolveProperties( } // the '.' is used to separate the extension name from the property name. - if (\str_contains($sourceProperty, '.')) { + if (false !== \strpos($sourceProperty, '.')) { [$extensionName, $propertyName] = \explode('.', $sourceProperty); if (!isset($unresolvedExtensionData[$extensionName][$propertyName])) {