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

@@ -7,7 +7,7 @@ abstract class Journey
/**
* @var string[]
*/
private $thingsToDo = [];
private array $thingsToDo = [];
/**
* This is the public service provided by this class and its subclasses.
@@ -37,10 +37,8 @@ abstract class Journey
/**
* This method is also part of the algorithm but it is optional.
* You can override it only if you need to
*
* @return null|string
*/
protected function buyGift()
protected function buyGift(): ?string
{
return null;
}