@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Contracts\Cache; |
6 | 6 |
@@ -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\Contracts\Channels; |
6 | 6 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | * |
31 | 31 | * @return Keyboard|null |
32 | 32 | */ |
33 | - public function getKeyboard(): ?Keyboard; |
|
33 | + public function getKeyboard(): ? Keyboard; |
|
34 | 34 | |
35 | 35 | /** |
36 | 36 | * Get the instance as an array. |
@@ -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\Contracts\Channels; |
6 | 6 | |
@@ -18,12 +18,12 @@ discard block |
||
18 | 18 | * |
19 | 19 | * @return string|null |
20 | 20 | */ |
21 | - public function getName(): ?string; |
|
21 | + public function getName(): ? string; |
|
22 | 22 | |
23 | 23 | /** |
24 | 24 | * Username. |
25 | 25 | * |
26 | 26 | * @return string|null |
27 | 27 | */ |
28 | - public function getUsername(): ?string; |
|
28 | + public function getUsername(): ? string; |
|
29 | 29 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Contracts\Channels\Extensions; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Contracts\Container; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Filesystem; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Channels; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace FondBot\Channels\Exceptions; |
6 | 6 |
@@ -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\Traits; |
6 | 6 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | private function prepareContext(array $context): array |
35 | 35 | { |
36 | 36 | return collect($context) |
37 | - ->map(function ($item) { |
|
37 | + ->map(function($item) { |
|
38 | 38 | if ($item instanceof Arrayable || method_exists($item, 'toArray')) { |
39 | 39 | return $item->toArray(); |
40 | 40 | } |