mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
remove Interface-Suffix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user