Skip to content

Commit

Permalink
Fix PHP 7.3 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Jul 3, 2024
1 parent 958213b commit ba3f34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Content/StructureResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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])) {
Expand Down

0 comments on commit ba3f34c

Please sign in to comment.