8000 bug #35616 [Workflow] Make method signature compatible with 4.4 (pbow… · symfony/symfony@0febb62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0febb62

Browse files
committed
bug #35616 [Workflow] Make method signature compatible with 4.4 (pbowyer)
This PR was squashed before being merged into the 5.0 branch (closes #35616). Discussion ---------- [Workflow] Make method signature compatible with 4.4 | Q | A | ------------- | --- | Branch? | 5.0 <!-- see below --> | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #35615 <!-- prefix each issue number with "Fix #", if any --> | License | MIT | Doc PR | symfony/symfony-docs#... <!-- required for new features --> <!-- Replace this notice by a short README for your feature/bugfix. This will help people understand your PR and can be used as a start for the documentation. Additionally (see https://symfony.com/roadmap): - Always add tests and ensure they pass. - Never break backward compatibility (see https://symfony.com/bc). - Bug fixes must be submitted against the lowest maintained branch where they apply (lowest branches are regularly merged to upper ones so they get the fixes too.) - Features and deprecations must be submitted against branch master. --> A method signature changed in a non-backwards-compatible way in 5.0.0 - and in only one class. This commit fixes that - and has been tested. For full details see ticket #35615. Commits ------- 474be96 [Workflow] Make method signature compatible with 4.4
2 parents 29e5222 + 474be96 commit 0febb62

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Component/Workflow/Event

1 file changed

+1
-1
lines changed

src/Symfony/Component/Workflow/Event/Event.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function getWorkflowName()
6060
return $this->workflow->getName();
6161
}
6262

63-
public function getMetadata(string $key, object $subject)
63+
public function getMetadata(string $key, $subject)
6464
{
6565
return $this->workflow->getMetadataStore()->getMetadata($key, $subject);
6666
}

0 commit comments

Comments
 (0)
0