Skip to content

Commit

Permalink
Merge branch '5.0'
Browse files Browse the repository at this point in the history
* 5.0:
  [PhpUnitBridge] cs fix
  [Workflow] Make method signature compatible with 4.4
  • Loading branch information
nicolas-grekas committed Feb 6, 2020
2 parents 4e427d9 + 88af1e5 commit 5b08c5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Event/Event.php
Original file line number Diff line number Diff line change
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 5b08c5a

Please sign in to comment.