@@ -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 | { |
@@ -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\Foundation; |
6 | 6 | |
@@ -37,9 +37,9 @@ discard block |
||
37 | 37 | * |
38 | 38 | * @return array|null |
39 | 39 | */ |
40 | - public function findDriver(string $name): ?array |
|
40 | + public function findDriver(string $name): ? array |
|
41 | 41 | { |
42 | - return $this->getDrivers()->first(function ($item) use ($name) { |
|
42 | + return $this->getDrivers()->first(function($item) use ($name) { |
|
43 | 43 | return $item['name'] === $name; |
44 | 44 | }); |
45 | 45 | } |