Completed
Push — master ( cc759f...8d8339 )
by Vladimir
02:27
created
src/Channels/Facebook/FacebookUser.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\Channels\Facebook;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @return string|null
32 32
      */
33
-    public function getName(): ?string
33
+    public function getName(): ? string
34 34
     {
35 35
         return $this->payload['first_name'].' '.$this->payload['last_name'];
36 36
     }
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @return string|null
42 42
      */
43
-    public function getUsername(): ?string
43
+    public function getUsername(): ? string
44 44
     {
45 45
         return null;
46 46
     }
Please login to merge, or discard this patch.
src/Channels/Facebook/FacebookDriver.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\Facebook;
6 6
 
Please login to merge, or discard this patch.
src/Channels/Facebook/FacebookOutgoingMessage.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\Channels\Facebook;
6 6
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
      *
48 48
      * @return Keyboard|null
49 49
      */
50
-    public function getKeyboard(): ?Keyboard
50
+    public function getKeyboard(): ? Keyboard
51 51
     {
52 52
         return $this->keyboard;
53 53
     }
Please login to merge, or discard this patch.
src/Channels/DriverManager.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\Channels;
6 6
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     private function validateParameters(Channel $channel, Driver $driver): void
55 55
     {
56
-        collect($driver->getConfig())->each(function (string $parameter) use ($channel) {
56
+        collect($driver->getConfig())->each(function(string $parameter) use ($channel) {
57 57
             if (!array_key_exists($parameter, $channel->getParameters())) {
58 58
                 throw new InvalidConfiguration('Invalid `'.$channel->getName().'` channel configuration.');
59 59
             }
Please login to merge, or discard this patch.
src/Traits/Loggable.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\Traits;
6 6
 
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
     private function prepareContext(array $context): array
35 35
     {
36 36
         return collect($context)
37
-            ->map(function ($item) {
37
+            ->map(function($item) {
38 38
                 if ($item instanceof Arrayable || method_exists($item, 'toArray')) {
39 39
                     return $item->toArray();
40 40
                 }
Please login to merge, or discard this patch.
src/Conversation/Traits/Transitions.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\Traits;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/Traits/InteractsWithContext.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\Traits;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/Traits/Authorization.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\Traits;
6 6
 
Please login to merge, or discard this patch.
src/Conversation/Keyboards/Button.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.