[Workflow] Make method signature compatible with 4.4

This commit is contained in:
Peter Bowyer 2020-02-06 11:22:44 +00:00 committed by Grégoire Pineau
parent 29e5222498
commit 474be9613b

View File

@ -60,7 +60,7 @@ class Event extends BaseEvent
return $this->workflow->getName();
}
public function getMetadata(string $key, object $subject)
public function getMetadata(string $key, $subject)
{
return $this->workflow->getMetadataStore()->getMetadata($key, $subject);
}