@@ -13,6 +13,9 @@ |
||
| 13 | 13 | /** @var array|string */ |
| 14 | 14 | protected $patterns; |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $patterns |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct($patterns) |
| 17 | 20 | { |
| 18 | 21 | if ($patterns instanceof Collection) { |
@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace FondBot\Conversation; |
| 6 | 6 | |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | return $this->interaction; |
| 59 | 59 | } |
| 60 | 60 | |
| 61 | - public function setInteraction(?Interaction $interaction): Context |
|
| 61 | + public function setInteraction(?Interaction $interaction) : Context |
|
| 62 | 62 | { |
| 63 | 63 | $this->interaction = $interaction; |
| 64 | 64 | |