From 474be9613b7859518ef9812cfa734bb382370b66 Mon Sep 17 00:00:00 2001 From: Peter Bowyer Date: Thu, 6 Feb 2020 11:22:44 +0000 Subject: [PATCH] [Workflow] Make method signature compatible with 4.4 --- src/Symfony/Component/Workflow/Event/Event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }