Skip to content

Commit

Permalink
[Workflow] Make method signature compatible with 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pbowyer authored and lyrixx committed Feb 6, 2020
1 parent 29e5222 commit 474be96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Workflow/Event/Event.php
Expand Up @@ -60,7 +60,7 @@ public function getWorkflowName()
return $this->workflow->getName();
}

public function getMetadata(string $key, object $subject)
public function getMetadata(string $key, $subject)
{
return $this->workflow->getMetadataStore()->getMetadata($key, $subject);
}
Expand Down

0 comments on commit 474be96

Please sign in to comment.