Completed
Push — master ( af8828...3a4530 )
by Vladimir
02:46
created
src/Bot.php 1 patch
Unused Use Statements   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -4,21 +4,21 @@
 block discarded – undo
4 4
 
5 5
 namespace FondBot;
6 6
 
7
-use FondBot\Traits\Loggable;
8 7
 use FondBot\Channels\Channel;
9
-use FondBot\Conversation\Context;
10
-use FondBot\Contracts\Drivers\User;
11
-use FondBot\Contracts\Drivers\Driver;
12
-use FondBot\Conversation\IntentManager;
13
-use FondBot\Conversation\ContextManager;
14 8
 use FondBot\Contracts\Container\Container;
15
-use FondBot\Contracts\Conversation\Intent;
16
-use FondBot\Contracts\Conversation\Keyboard;
17
-use FondBot\Contracts\Drivers\OutgoingMessage;
18 9
 use FondBot\Contracts\Conversation\Conversable;
10
+use FondBot\Contracts\Conversation\Intent;
19 11
 use FondBot\Contracts\Conversation\Interaction;
20
-use FondBot\Contracts\Drivers\InvalidRequest;
12
+use FondBot\Contracts\Conversation\Keyboard;
13
+use FondBot\Contracts\Drivers\Driver;
21 14
 use FondBot\Contracts\Drivers\Extensions\WebhookVerification;
15
+use FondBot\Contracts\Drivers\InvalidRequest;
16
+use FondBot\Contracts\Drivers\OutgoingMessage;
17
+use FondBot\Contracts\Drivers\User;
18
+use FondBot\Conversation\Context;
19
+use FondBot\Conversation\ContextManager;
20
+use FondBot\Conversation\IntentManager;
21
+use FondBot\Traits\Loggable;
22 22
 
23 23
 class Bot
24 24
 {
Please login to merge, or discard this patch.
src/Conversation/Context.php 1 patch
Unused Use Statements   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 
5 5
 namespace FondBot\Conversation;
6 6
 
7
-use FondBot\Contracts\Drivers\User;
8
-use FondBot\Contracts\Core\Arrayable;
9
-use FondBot\Contracts\Conversation\Intent;
10
-use FondBot\Contracts\Drivers\ReceivedMessage;
11 7
 use FondBot\Contracts\Conversation\Conversable;
8
+use FondBot\Contracts\Conversation\Intent;
12 9
 use FondBot\Contracts\Conversation\Interaction;
10
+use FondBot\Contracts\Core\Arrayable;
11
+use FondBot\Contracts\Drivers\ReceivedMessage;
12
+use FondBot\Contracts\Drivers\User;
13 13
 
14 14
 class Context implements Arrayable
15 15
 {
Please login to merge, or discard this patch.
src/Contracts/Drivers/ReceivedMessage.php 1 patch
Spacing   +5 added lines, -5 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\Contracts\Drivers;
6 6
 
@@ -14,14 +14,14 @@  discard block
 block discarded – undo
14 14
      *
15 15
      * @return string|null
16 16
      */
17
-    public function getText(): ?string;
17
+    public function getText(): ? string;
18 18
 
19 19
     /**
20 20
      * Get location.
21 21
      *
22 22
      * @return Location|null
23 23
      */
24
-    public function getLocation(): ?Location;
24
+    public function getLocation(): ? Location;
25 25
 
26 26
     /**
27 27
      * Determine if message has attachment.
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @return Attachment|null
37 37
      */
38
-    public function getAttachment(): ?Attachment;
38
+    public function getAttachment(): ? Attachment;
39 39
 
40 40
     /**
41 41
      * Determine if message has payload.
@@ -49,5 +49,5 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return string|null
51 51
      */
52
-    public function getData(): ?string;
52
+    public function getData(): ? string;
53 53
 }
Please login to merge, or discard this patch.
src/Contracts/Drivers/OutgoingMessage.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\Contracts\Drivers;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
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.
Please login to merge, or discard this patch.
src/Contracts/Drivers/Extensions/WebhookVerification.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\Contracts\Drivers\Extensions;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/Extensions/WebhookInstallation.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\Contracts\Drivers\Extensions;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/User.php 1 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\Contracts\Drivers;
6 6
 
@@ -18,12 +18,12 @@  discard block
 block discarded – undo
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
 }
Please login to merge, or discard this patch.