Passed
Push — master ( d359a0...4c7365 )
by Vladimir
02:29
created
src/Events/MessageReceived.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\Events;
6 6
 
@@ -33,12 +33,12 @@  discard block
 block discarded – undo
33 33
         return $this->location;
34 34
     }
35 35
 
36
-    public function getAttachment(): ?Attachment
36
+    public function getAttachment(): ? Attachment
37 37
     {
38 38
         return $this->attachment;
39 39
     }
40 40
 
41
-    public function getData(): ?string
41
+    public function getData(): ? string
42 42
     {
43 43
         return $this->data;
44 44
     }
Please login to merge, or discard this patch.
src/Conversation/IntentManager.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
 
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      *
32 32
      * @return Intent|null
33 33
      */
34
-    public function find(MessageReceived $message): ?Intent
34
+    public function find(MessageReceived $message): ? Intent
35 35
     {
36 36
         foreach ($this->intents as $intent) {
37 37
             foreach ($intent->activators() as $activator) {
Please login to merge, or discard this patch.
src/Contracts/Conversable.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;
6 6
 
Please login to merge, or discard this patch.
src/Foundation/Middleware/InitializeKernel.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\Foundation\Middleware;
6 6
 
Please login to merge, or discard this patch.
src/Foundation/Commands/Converse.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\Foundation\Commands;
6 6
 
Please login to merge, or discard this patch.
src/Foundation/Listeners/HandleConversation.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\Foundation\Listeners;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/ConversationServiceProvider.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
 
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
 
24 24
     private function registerSessionManager(): void
25 25
     {
26
-        $this->app->singleton(SessionManager::class, function () {
26
+        $this->app->singleton(SessionManager::class, function() {
27 27
             return new SessionManager(
28 28
                 $this->app,
29 29
                 $this->app->make(Store::class)
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     private function registerIntentManager(): void
35 35
     {
36
-        $this->app->singleton(IntentManager::class, function () {
36
+        $this->app->singleton(IntentManager::class, function() {
37 37
             $intents = array_get($this->config(), 'intents', []);
38 38
             $fallbackIntent = array_get($this->config(), 'fallback_intent', FallbackIntent::class);
39 39
 
Please login to merge, or discard this patch.
src/Foundation/Commands/SendRequest.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\Foundation\Commands;
6 6
 
Please login to merge, or discard this patch.
src/Foundation/Commands/SendMessage.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\Foundation\Commands;
6 6
 
Please login to merge, or discard this patch.