Completed
Push — master ( 9a9cfb...e273f3 )
by Vladimir
03:18
created
src/BotFactory.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;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/StoryManager.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\Conversation;
6 6
 
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      *
23 23
      * @return Story|null
24 24
      */
25
-    public function find(Context $context, ReceivedMessage $message): ?Story
25
+    public function find(Context $context, ReceivedMessage $message): ? Story
26 26
     {
27 27
         $story = $context->getStory();
28 28
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return Story|null
51 51
      */
52
-    private function findActivator(ReceivedMessage $message): ?Story
52
+    private function findActivator(ReceivedMessage $message): ? Story
53 53
     {
54 54
         foreach ($this->stories as $story) {
55 55
             foreach ($story->activators() as $activator) {
Please login to merge, or discard this patch.
src/Conversation/Context.php 1 patch
Spacing   +4 added lines, -4 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
 
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         return $this->message;
51 51
     }
52 52
 
53
-    public function getStory(): ?Story
53
+    public function getStory(): ? Story
54 54
     {
55 55
         return $this->story;
56 56
     }
@@ -60,12 +60,12 @@  discard block
 block discarded – undo
60 60
         $this->story = $story;
61 61
     }
62 62
 
63
-    public function getInteraction(): ?Interaction
63
+    public function getInteraction(): ? Interaction
64 64
     {
65 65
         return $this->interaction;
66 66
     }
67 67
 
68
-    public function setInteraction(?Interaction $interaction): void
68
+    public function setInteraction(? Interaction $interaction) : void
69 69
     {
70 70
         $this->interaction = $interaction;
71 71
     }
Please login to merge, or discard this patch.
src/Conversation/Activators/WithAttachment.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/Interaction.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/Conversation/Keyboards/BasicKeyboard.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\Keyboards;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/ConversationCreator.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\Conversation;
6 6
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      * @param string $key
69 69
      * @param string $value
70 70
      */
71
-    private function replacePlaceholder(string &$input, string $key, string $value): void
71
+    private function replacePlaceholder(string&$input, string $key, string $value): void
72 72
     {
73 73
         $key = mb_strtoupper($key);
74 74
         $input = str_replace('___'.$key.'___', $value, $input);
Please login to merge, or discard this patch.
src/Conversation/Fallback/FallbackStory.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.
src/Conversation/Fallback/FallbackInteraction.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\Conversation\Fallback;
6 6
 
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      *
16 16
      * @return Keyboard|null
17 17
      */
18
-    public function keyboard(): ?Keyboard
18
+    public function keyboard(): ? Keyboard
19 19
     {
20 20
         return null;
21 21
     }
Please login to merge, or discard this patch.