Passed
Push — master ( 98541d...d359a0 )
by
unknown
08:18
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/ServiceProvider.php 1 patch
Spacing   +6 added lines, -6 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\Foundation;
6 6
 
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
 
53 53
     private function registerChannelManager(): void
54 54
     {
55
-        $this->app->singleton(ChannelManager::class, function () {
55
+        $this->app->singleton(ChannelManager::class, function() {
56 56
             /** @var array $channels */
57 57
             $channels = collect(array_get($this->config(), 'channels', []))
58
-                ->mapWithKeys(function (array $parameters, string $name) {
58
+                ->mapWithKeys(function(array $parameters, string $name) {
59 59
                     return [$name => $parameters];
60 60
                 })
61 61
                 ->toArray();
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 
70 70
     private function registerSessionManager(): void
71 71
     {
72
-        $this->app->singleton(SessionManager::class, function () {
72
+        $this->app->singleton(SessionManager::class, function() {
73 73
             return new SessionManager(
74 74
                 $this->app,
75 75
                 $this->app->make(Store::class)
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
     private function registerIntentManager(): void
81 81
     {
82
-        $this->app->singleton(IntentManager::class, function () {
82
+        $this->app->singleton(IntentManager::class, function() {
83 83
             $intents = array_get($this->config(), 'intents', []);
84 84
             $fallbackIntent = array_get($this->config(), 'fallback_intent', FallbackIntent::class);
85 85
 
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
     private function registerKernel(): void
94 94
     {
95
-        $this->app->singleton(Kernel::class, function () {
95
+        $this->app->singleton(Kernel::class, function() {
96 96
             return new Kernel($this->app);
97 97
         });
98 98
     }
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/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.
src/Foundation/Commands/SendAttachment.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.