mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 00:16:32 +02:00
update deps & install rector
This commit is contained in:
@@ -3,23 +3,17 @@
|
||||
namespace DesignPatterns\Behavioral\Command;
|
||||
|
||||
/**
|
||||
* Receiver is specific service with its own contract and can be only concrete.
|
||||
* Receiver is a specific service with its own contract and can be only concrete.
|
||||
*/
|
||||
class Receiver
|
||||
{
|
||||
/**
|
||||
* @var bool
|
||||
*/
|
||||
private $enableDate = false;
|
||||
private bool $enableDate = false;
|
||||
|
||||
/**
|
||||
* @var string[]
|
||||
*/
|
||||
private $output = [];
|
||||
private array $output = [];
|
||||
|
||||
/**
|
||||
* @param string $str
|
||||
*/
|
||||
public function write(string $str)
|
||||
{
|
||||
if ($this->enableDate) {
|
||||
|
Reference in New Issue
Block a user