Completed
Push — master ( 367b4e...a600c8 )
by Vladimir
02:25
created
src/Conversation/Activators/Regex.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Conversation/ActivatorParser.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     ];
30 30
 
31 31
     /**
32
-     * @param array $data
32
+     * @param Activator[] $data
33 33
      *
34 34
      * @return Activator[]
35 35
      */
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
                     }
Please login to merge, or discard this patch.
src/Conversation/Activators/Attachment.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Conversation/Activators/Payload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Foundation/Providers/RouteServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
         });
Please login to merge, or discard this patch.