Completed
Push — master ( 269bc3...61fa52 )
by Vladimir
36:35
created
src/Conversation/Traits/Authorization.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\Traits;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/Activators/InArray.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/Exact.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/Pattern.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/ContextManager.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;
6 6
 
Please login to merge, or discard this patch.
src/Channels/ChannelManager.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\Channels;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/Keyboard.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;
6 6
 
Please login to merge, or discard this patch.
src/Bot.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -187,7 +187,7 @@
 block discarded – undo
187 187
     /**
188 188
      * Start conversation.
189 189
      *
190
-     * @param Conversable|Intent|Interaction $conversable
190
+     * @param Conversable $conversable
191 191
      */
192 192
     public function converse(Conversable $conversable): void
193 193
     {
Please login to merge, or discard this patch.
Unused Use Statements   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -5,20 +5,20 @@
 block discarded – undo
5 5
 namespace FondBot;
6 6
 
7 7
 use FondBot\Channels\Channel;
8
-use FondBot\Contracts\Drivers\User;
9
-use FondBot\Contracts\Drivers\Driver;
10
-use FondBot\Conversation\IntentManager;
11
-use FondBot\Conversation\ContextManager;
12 8
 use FondBot\Contracts\Bot as BotContract;
13 9
 use FondBot\Contracts\Container\Container;
14
-use FondBot\Contracts\Conversation\Intent;
15 10
 use FondBot\Contracts\Conversation\Context;
16
-use FondBot\Contracts\Conversation\Keyboard;
17
-use FondBot\Contracts\Drivers\InvalidRequest;
18
-use FondBot\Contracts\Drivers\OutgoingMessage;
19 11
 use FondBot\Contracts\Conversation\Conversable;
12
+use FondBot\Contracts\Conversation\Intent;
20 13
 use FondBot\Contracts\Conversation\Interaction;
14
+use FondBot\Contracts\Conversation\Keyboard;
15
+use FondBot\Contracts\Drivers\Driver;
21 16
 use FondBot\Contracts\Drivers\Extensions\WebhookVerification;
17
+use FondBot\Contracts\Drivers\InvalidRequest;
18
+use FondBot\Contracts\Drivers\OutgoingMessage;
19
+use FondBot\Contracts\Drivers\User;
20
+use FondBot\Conversation\ContextManager;
21
+use FondBot\Conversation\IntentManager;
22 22
 
23 23
 class Bot implements BotContract
24 24
 {
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 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;
6 6
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      *
89 89
      * @return Context|null
90 90
      */
91
-    public function getContext(): ?Contracts\Conversation\Context
91
+    public function getContext(): ? Contracts\Conversation\Context
92 92
     {
93 93
         return $this->context;
94 94
     }
@@ -198,7 +198,7 @@  discard block
 block discarded – undo
198 198
         string $text,
199 199
         Keyboard $keyboard = null,
200 200
         string $driver = null
201
-    ): ?OutgoingMessage {
201
+    ): ? OutgoingMessage {
202 202
         if ($driver !== null && !$this->driver instanceof $driver) {
203 203
             return null;
204 204
         }
Please login to merge, or discard this patch.
src/Conversation/Fallback/FallbackIntent.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\Fallback;
6 6
 
Please login to merge, or discard this patch.