From 8a9872a6f5ce1f972bde719d1de85d95054c65db Mon Sep 17 00:00:00 2001 From: Ihor Burlachenko Date: Thu, 21 Jan 2016 22:46:28 +0100 Subject: [PATCH] Extended UndoableCommandInterface from CommandInterface --- Behavioral/Command/AddMessageDateCommand.php | 2 +- Behavioral/Command/UndoableCommandInterface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Behavioral/Command/AddMessageDateCommand.php b/Behavioral/Command/AddMessageDateCommand.php index 9543bdae0..11bb9af2c 100644 --- a/Behavioral/Command/AddMessageDateCommand.php +++ b/Behavioral/Command/AddMessageDateCommand.php @@ -6,7 +6,7 @@ * This concrete command tweaks receiver to add current date to messages * invoker just knows that it can call "execute". */ -class AddMessageDateCommand implements CommandInterface, UndoableCommandInterface +class AddMessageDateCommand implements UndoableCommandInterface { /** * @var Receiver diff --git a/Behavioral/Command/UndoableCommandInterface.php b/Behavioral/Command/UndoableCommandInterface.php index 0fd101c44..f9234ab57 100644 --- a/Behavioral/Command/UndoableCommandInterface.php +++ b/Behavioral/Command/UndoableCommandInterface.php @@ -5,7 +5,7 @@ /** * Interface UndoableCommandInterface. */ -interface UndoableCommandInterface +interface UndoableCommandInterface extends CommandInterface { /** * This method is used to undo change made by command execution