minor #33204 [Workflow] Added doc block for Registry::supports() (derrabus)
This PR was merged into the 4.3 branch.
Discussion
----------
[Workflow] Added doc block for Registry::supports()
| Q | A
| ------------- | ---
| Branch? | 4.3
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | N/A
| License | MIT
| Doc PR | N/A
Follows #33197, prepares #33198.
Commits
-------
c76fd13848
Added doc block for Registry::supports().
This commit is contained in:
commit
aa53a71e03
@ -82,6 +82,11 @@ class Registry
|
|||||||
return $matched;
|
return $matched;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param WorkflowSupportStrategyInterface $supportStrategy
|
||||||
|
* @param object $subject
|
||||||
|
* @param string|null $workflowName
|
||||||
|
*/
|
||||||
private function supports(WorkflowInterface $workflow, $supportStrategy, $subject, $workflowName): bool
|
private function supports(WorkflowInterface $workflow, $supportStrategy, $subject, $workflowName): bool
|
||||||
{
|
{
|
||||||
if (null !== $workflowName && $workflowName !== $workflow->getName()) {
|
if (null !== $workflowName && $workflowName !== $workflow->getName()) {
|
||||||
|
Reference in New Issue
Block a user