diff --git a/Structural/Decorator/RendererDecorator.php b/Structural/Decorator/RendererDecorator.php index e2bd02a..a837f8c 100644 --- a/Structural/Decorator/RendererDecorator.php +++ b/Structural/Decorator/RendererDecorator.php @@ -3,11 +3,11 @@ namespace DesignPatterns\Structural\Decorator; /** - * the Decorator MUST implement the RendererInterface contract, this is the key-feature + * the Decorator MUST implement the RenderableInterface contract, this is the key-feature * of this design pattern. If not, this is no longer a Decorator but just a dumb * wrapper. */ -abstract class RendererDecorator +abstract class RendererDecorator implements RenderableInterface { /** * @var RenderableInterface