Skip to content

Commit bcff982

Browse files
committed
Add types to private and final methods.
1 parent d49a4fb commit bcff982

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Registry.php

+5-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,11 @@ public function all($subject): array
8282
return $matched;
8383
}
8484

85-
private function supports(WorkflowInterface $workflow, $supportStrategy, $subject, $workflowName): bool
85+
/**
86+
* @param WorkflowSupportStrategyInterface $supportStrategy
87+
* @param object $subject
88+
*/
89+
private function supports(WorkflowInterface $workflow, $supportStrategy, $subject, ?string $workflowName): bool
8690
{
8791
if (null !== $workflowName && $workflowName !== $workflow->getName()) {
8892
return false;

0 commit comments

Comments
 (0)