Skip to content

Commit

Permalink
fix definition interpreter
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed May 27, 2024
1 parent 6046ac0 commit 19e45f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function __construct(RepositoryInterface $definitionRepository, ImporterI
}

public function interpret(InterpreterContextInterface $context): mixed {
$subDefinition = $this->definitionRepository->find($context->getConfiguration()['definition']);
$subDefinition = $this->definitionRepository->find((string)$context->getConfiguration()['definition']);

if (!$subDefinition instanceof ImportDefinitionInterface) {
return null;
Expand Down

0 comments on commit 19e45f3

Please sign in to comment.