diff --git a/src/Symfony/Component/Workflow/Event/Event.php b/src/Symfony/Component/Workflow/Event/Event.php index a0bb4c5176..cda6e170be 100644 --- a/src/Symfony/Component/Workflow/Event/Event.php +++ b/src/Symfony/Component/Workflow/Event/Event.php @@ -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); }