remove Interface-Suffix

This commit is contained in:
Dominik Liebler
2019-08-19 16:54:21 +02:00
parent 132de8e34e
commit b72515a9af
9 changed files with 55 additions and 38 deletions

View File

@@ -10,7 +10,7 @@ namespace DesignPatterns\Behavioral\Command;
class Invoker
{
/**
* @var CommandInterface
* @var Command
*/
private $command;
@@ -18,9 +18,9 @@ class Invoker
* in the invoker we find this kind of method for subscribing the command
* There can be also a stack, a list, a fixed set ...
*
* @param CommandInterface $cmd
* @param Command $cmd
*/
public function setCommand(CommandInterface $cmd)
public function setCommand(Command $cmd)
{
$this->command = $cmd;
}