mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-06 15:06:31 +02:00
update deps & install rector
This commit is contained in:
@@ -8,16 +8,11 @@ namespace DesignPatterns\Behavioral\Command;
|
||||
*/
|
||||
class HelloCommand implements Command
|
||||
{
|
||||
/**
|
||||
* @var Receiver
|
||||
*/
|
||||
private $output;
|
||||
private Receiver $output;
|
||||
|
||||
/**
|
||||
* Each concrete command is built with different receivers.
|
||||
* There can be one, many or completely no receivers, but there can be other commands in the parameters
|
||||
*
|
||||
* @param Receiver $console
|
||||
*/
|
||||
public function __construct(Receiver $console)
|
||||
{
|
||||
|
Reference in New Issue
Block a user