diff --git a/src/Decorators/ConstructorWithPromotedPropertiesDecorator.php b/src/Decorators/ConstructorWithPromotedPropertiesDecorator.php
index f7ebaec3cae8bfe8eb2cf51b8320f8c07fc69e17..251126c0b16ad9c45e70caa4f5dc5f552e1f8c64 100644
--- a/src/Decorators/ConstructorWithPromotedPropertiesDecorator.php
+++ b/src/Decorators/ConstructorWithPromotedPropertiesDecorator.php
@@ -8,7 +8,7 @@ use Grifart\ClassScaffolder\Definition\ClassDefinition;
 use Nette\PhpGenerator\ClassType;
 use Nette\PhpGenerator\PhpNamespace;
 
-final class ConstructorWithPromotedPropertiesDecorator
+final class ConstructorWithPromotedPropertiesDecorator implements ClassDecorator
 {
 	public function decorate(PhpNamespace $namespace, ClassType $classType, ClassDefinition $definition): void
 	{