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

@@ -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) {