From 622c1aa15cf59b340b8c31755936ab2bc6cc39bc Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Wed, 22 May 2024 22:52:39 +0400 Subject: [PATCH] Fix parameter type in DeclarationRegistryInterface::addDeclaration --- src/DeclarationRegistryInterface.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/DeclarationRegistryInterface.php b/src/DeclarationRegistryInterface.php index 21803b0..d124a33 100644 --- a/src/DeclarationRegistryInterface.php +++ b/src/DeclarationRegistryInterface.php @@ -11,7 +11,8 @@ interface DeclarationRegistryInterface /** * Add a new declaration to the registry. * - * @param \ReflectionClass|class-string $class Workflow or activity class name or reflection. + * @param DeclarationDto|\ReflectionClass|class-string $class Workflow or activity class name or reflection + * or full declaration dto. */ public function addDeclaration(DeclarationDto|\ReflectionClass|string $class): void;