Completed
Push — master ( 0a1c77...2f1c32 )
by Vladimir
02:48
created
src/Contracts/Conversation/Manager.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\Conversation;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Channels/Manager.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\Channels;
6 6
 
Please login to merge, or discard this patch.
src/Foundation/Providers/ChannelServiceProvider.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\Foundation\Providers;
6 6
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
         $manager->register(
34 34
             collect($this->channels())
35
-                ->mapWithKeys(function (array $parameters, string $name) {
35
+                ->mapWithKeys(function(array $parameters, string $name) {
36 36
                     return [$name => $parameters];
37 37
                 })
38 38
                 ->toArray()
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
 
52 52
     private function registerManager(): void
53 53
     {
54
-        $this->app->singleton(Manager::class, function () {
54
+        $this->app->singleton(Manager::class, function() {
55 55
             return new ChannelManager($this->app);
56 56
         });
57 57
 
Please login to merge, or discard this patch.
src/helpers.php 2 patches
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
 use FondBot\Contracts\Conversation\Manager;
6 6
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @param mixed|null  $default
26 26
      *
27
-     * @return \FondBot\Conversation\Context|mixed
27
+     * @return FondBot\Conversation\Context
28 28
      */
29 29
     function context(string $key = null, $default = null)
30 30
     {
Please login to merge, or discard this patch.
src/Foundation/Providers/ConversationServiceProvider.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\Foundation\Providers;
6 6
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
 
79 79
     private function registerManager(): void
80 80
     {
81
-        $this->app->singleton('conversation', function () {
81
+        $this->app->singleton('conversation', function() {
82 82
             return new ConversationManager($this->app, $this->app[Cache::class]);
83 83
         });
84 84
 
Please login to merge, or discard this patch.
src/Conversation/Context.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
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
      *
99 99
      * @return Context
100 100
      */
101
-    public function setInteraction(?Interaction $interaction): Context
101
+    public function setInteraction(?Interaction $interaction) : Context
102 102
     {
103 103
         $this->interaction = $interaction;
104 104
 
Please login to merge, or discard this patch.
src/Foundation/API.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\Foundation;
6 6
 
@@ -37,9 +37,9 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @return array|null
39 39
      */
40
-    public function findDriver(string $name): ?array
40
+    public function findDriver(string $name): ? array
41 41
     {
42
-        return $this->getDrivers()->first(function ($item) use ($name) {
42
+        return $this->getDrivers()->first(function($item) use ($name) {
43 43
             return $item['name'] === $name;
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
src/Foundation/Providers/EventServiceProvider.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\Providers;
6 6
 
Please login to merge, or discard this patch.
src/Foundation/Providers/FoundationServiceProvider.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\Foundation\Providers;
6 6
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 {
12 12
     public function register(): void
13 13
     {
14
-        $this->app->singleton(Kernel::class, function () {
14
+        $this->app->singleton(Kernel::class, function() {
15 15
             return new Kernel;
16 16
         });
17 17
     }
Please login to merge, or discard this patch.