Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Structural/Decorator/RendererDecorator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down