Passed
Push — master ( 3a4530...269bc3 )
by Vladimir
02:50
created
src/Drivers/Driver.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\Drivers;
6 6
 
Please login to merge, or discard this patch.
src/Drivers/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\Drivers;
6 6
 
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     private function validateParameters(Channel $channel, Driver $driver): void
56 56
     {
57
-        collect($driver->getConfig())->each(function (string $parameter) use ($channel) {
57
+        collect($driver->getConfig())->each(function(string $parameter) use ($channel) {
58 58
             if (!array_key_exists($parameter, $channel->getParameters())) {
59 59
                 throw new InvalidConfiguration('Invalid `'.$channel->getName().'` channel configuration.');
60 60
             }
Please login to merge, or discard this patch.
src/Contracts/Drivers/Driver.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\Drivers;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/Message/Location.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\Drivers\Message;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/Message/Attachment.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\Drivers\Message;
6 6
 
Please login to merge, or discard this patch.
src/Channels/ChannelNotFound.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;
6 6
 
Please login to merge, or discard this patch.
src/Contracts/Drivers/ReceivedMessage.php 1 patch
Spacing   +5 added lines, -5 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\Contracts\Drivers;
6 6
 
@@ -14,14 +14,14 @@  discard block
 block discarded – undo
14 14
      *
15 15
      * @return string|null
16 16
      */
17
-    public function getText(): ?string;
17
+    public function getText(): ? string;
18 18
 
19 19
     /**
20 20
      * Get location.
21 21
      *
22 22
      * @return Location|null
23 23
      */
24
-    public function getLocation(): ?Location;
24
+    public function getLocation(): ? Location;
25 25
 
26 26
     /**
27 27
      * Determine if message has attachment.
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @return Attachment|null
37 37
      */
38
-    public function getAttachment(): ?Attachment;
38
+    public function getAttachment(): ? Attachment;
39 39
 
40 40
     /**
41 41
      * Determine if message has payload.
@@ -49,5 +49,5 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @return string|null
51 51
      */
52
-    public function getData(): ?string;
52
+    public function getData(): ? string;
53 53
 }
Please login to merge, or discard this patch.
src/Contracts/Drivers/OutgoingMessage.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\Contracts\Drivers;
6 6
 
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      *
31 31
      * @return Keyboard|null
32 32
      */
33
-    public function getKeyboard(): ?Keyboard;
33
+    public function getKeyboard(): ? Keyboard;
34 34
 
35 35
     /**
36 36
      * Get the instance as an array.
Please login to merge, or discard this patch.
src/Contracts/Drivers/Extensions/WebhookVerification.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\Drivers\Extensions;
6 6
 
Please login to merge, or discard this patch.