@@ -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\Conversation\Activators; |
6 | 6 |
@@ -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 | */ |
@@ -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 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | $value = $parameters; |
53 | 53 | } else { |
54 | 54 | $value = $parameters->first(); |
55 | - $parameters = $parameters->slice(1)->values()->transform(function ($item) { |
|
55 | + $parameters = $parameters->slice(1)->values()->transform(function($item) { |
|
56 | 56 | if ($item === 'true') { |
57 | 57 | return true; |
58 | 58 | } |
@@ -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\Conversation\Activators; |
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\Conversation\Activators; |
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\Foundation\Providers; |
6 | 6 | |
@@ -15,7 +15,7 @@ discard block |
||
15 | 15 | { |
16 | 16 | Route::get('/', 'FondBot\Foundation\Controller@index'); |
17 | 17 | |
18 | - Route::group(['middleware' => 'fondbot.webhook'], function () { |
|
18 | + Route::group(['middleware' => 'fondbot.webhook'], function() { |
|
19 | 19 | Route::get('webhook/{channel}/{secret?}', 'FondBot\Foundation\Controller@webhook')->name('fondbot.webhook'); |
20 | 20 | Route::post('webhook/{channel}/{secret?}', 'FondBot\Foundation\Controller@webhook')->name('fondbot.webhook'); |
21 | 21 | }); |