@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @param mixed|null $default |
26 | 26 | * |
27 | - * @return \FondBot\Conversation\Context|mixed |
|
27 | + * @return FondBot\Conversation\Context |
|
28 | 28 | */ |
29 | 29 | function context(string $key = null, $default = null) |
30 | 30 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | ]; |
30 | 30 | |
31 | 31 | /** |
32 | - * @param array $data |
|
32 | + * @param Activator[] $data |
|
33 | 33 | * |
34 | 34 | * @return Activator[] |
35 | 35 | */ |
@@ -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) { |