update deps & install rector

This commit is contained in:
Dominik Liebler
2019-12-14 12:50:05 +01:00
parent 04acce6759
commit 579a5ac946
87 changed files with 2432 additions and 786 deletions

View File

@@ -8,16 +8,11 @@ namespace DesignPatterns\Behavioral\Command;
*/
class Invoker
{
/**
* @var Command
*/
private $command;
private Command $command;
/**
* 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 Command $cmd
*/
public function setCommand(Command $cmd)
{