@@ -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 | }); |
@@ -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\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 |