Skip to content

Commit

Permalink
Fix parameter type in DeclarationRegistryInterface::addDeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
roxblnfk committed May 22, 2024
1 parent a32dfea commit 622c1aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/DeclarationRegistryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 622c1aa

Please sign in to comment.