Completed
Push — master ( 15677b...615879 )
by Vladimir
02:54
created
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/Channels/Telegram/TelegramOutgoingMessage.php 2 patches
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,12 +4,12 @@
 block discarded – undo
4 4
 
5 5
 namespace FondBot\Channels\Telegram;
6 6
 
7
+use FondBot\Channels\Telegram\Buttons\RequestContactButton;
8
+use FondBot\Contracts\Channels\OutgoingMessage;
7 9
 use FondBot\Contracts\Channels\User;
8
-use FondBot\Conversation\Buttons\UrlButton;
9 10
 use FondBot\Contracts\Conversation\Keyboard;
10
-use FondBot\Contracts\Channels\OutgoingMessage;
11 11
 use FondBot\Conversation\Buttons\PayloadButton;
12
-use FondBot\Channels\Telegram\Buttons\RequestContactButton;
12
+use FondBot\Conversation\Buttons\UrlButton;
13 13
 
14 14
 class TelegramOutgoingMessage implements OutgoingMessage
15 15
 {
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\Channels\Telegram;
6 6
 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
      *
53 53
      * @return Keyboard|null
54 54
      */
55
-    public function getKeyboard(): ?Keyboard
55
+    public function getKeyboard(): ? Keyboard
56 56
     {
57 57
         return $this->keyboard;
58 58
     }
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
         return $payload;
77 77
     }
78 78
 
79
-    private function getReplyMarkup(): ?array
79
+    private function getReplyMarkup(): ? array
80 80
     {
81 81
         if ($this->keyboard !== null) {
82 82
             $type = $this->detectKeyboardType();
Please login to merge, or discard this patch.
src/Bot.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;
6 6
 
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
      *
97 97
      * @return Context|null
98 98
      */
99
-    public function getContext(): ?Context
99
+    public function getContext(): ? Context
100 100
     {
101 101
         return $this->context;
102 102
     }
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
         string $text,
217 217
         Keyboard $keyboard = null,
218 218
         string $driver = null
219
-    ): ?OutgoingMessage {
219
+    ): ? OutgoingMessage {
220 220
         if ($driver !== null && !$this->driver instanceof $driver) {
221 221
             return null;
222 222
         }
Please login to merge, or discard this patch.
src/Conversation/Buttons/ReplyButton.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\Buttons;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/Buttons/UrlButton.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\Buttons;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/Buttons/PayloadButton.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\Buttons;
6 6
 
Please login to merge, or discard this patch.
src/Channels/Telegram/Buttons/RequestContactButton.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\Telegram\Buttons;
6 6
 
Please login to merge, or discard this patch.