Added doc block for Registry::supports().

This commit is contained in:
Alexander M. Turek 2019-08-16 13:26:37 +02:00
parent 431ead273a
commit c76fd13848
1 changed files with 5 additions and 0 deletions

View File

@ -82,6 +82,11 @@ class Registry
return $matched;
}
/**
* @param WorkflowSupportStrategyInterface $supportStrategy
* @param object $subject
* @param string|null $workflowName
*/
private function supports(WorkflowInterface $workflow, $supportStrategy, $subject, $workflowName): bool
{
if (null !== $workflowName && $workflowName !== $workflow->getName()) {