Skip to content

Commit 8a9872a

Browse files
committed
Extended UndoableCommandInterface from CommandInterface
1 parent be12454 commit 8a9872a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Behavioral/Command/AddMessageDateCommand.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* This concrete command tweaks receiver to add current date to messages
77
* invoker just knows that it can call "execute".
88
*/
9-
class AddMessageDateCommand implements CommandInterface, UndoableCommandInterface
9+
class AddMessageDateCommand implements UndoableCommandInterface
1010
{
1111
/**
1212
* @var Receiver

Behavioral/Command/UndoableCommandInterface.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Interface UndoableCommandInterface.
77
*/
8-
interface UndoableCommandInterface
8+
interface UndoableCommandInterface extends CommandInterface
99
{
1010
/**
1111
* This method is used to undo change made by command execution

0 commit comments

Comments
 (0)