Skip to content

Commit

Permalink
Removed backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
n3t committed Feb 16, 2024
1 parent 3bcd6f7 commit 7d5f44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/schemaorg/src/Extension/Schemaorg.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ protected function isSupported($context)
$component = $this->getApplication()->bootComponent($parts[0]);

if ($component instanceof SchemaorgServiceInterface) {
return \in_array($context, \array_keys($component->getSchemaorgContexts()));
return \in_array($context, array_keys($component->getSchemaorgContexts()));
}

return false;
Expand Down

0 comments on commit 7d5f44f

Please sign in to comment.