Passed
Pull Request — master (#412)
by Alexander
01:57
created
src/Types/Document.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      *
35 35
      * @var array
36 36
      */
37
-    protected static $requiredParams = ['file_id', 'file_unique_id'];
37
+    protected static $requiredParams = [ 'file_id', 'file_unique_id' ];
38 38
 
39 39
     /**
40 40
      * Unique identifier for this file
Please login to merge, or discard this patch.
src/Types/Location.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      *
20 20
      * @var array
21 21
      */
22
-    protected static $requiredParams = ['latitude', 'longitude'];
22
+    protected static $requiredParams = [ 'latitude', 'longitude' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/BotCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected static $requiredParams = ['command', 'description'];
15
+    protected static $requiredParams = [ 'command', 'description' ];
16 16
 
17 17
     /**
18 18
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Dice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
      *
17 17
      * @var array
18 18
      */
19
-    protected static $requiredParams = ['emoji', 'value'];
19
+    protected static $requiredParams = [ 'emoji', 'value' ];
20 20
 
21 21
     /**
22 22
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Contact.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      *
19 19
      * @var array
20 20
      */
21
-    protected static $requiredParams = ['phone_number', 'first_name'];
21
+    protected static $requiredParams = [ 'phone_number', 'first_name' ];
22 22
 
23 23
     /**
24 24
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Audio.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      *
20 20
      * @var array
21 21
      */
22
-    protected static $requiredParams = ['file_id', 'file_unique_id', 'duration'];
22
+    protected static $requiredParams = [ 'file_id', 'file_unique_id', 'duration' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Chat.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
      *
14 14
      * @var array
15 15
      */
16
-    protected static $requiredParams = ['id', 'type'];
16
+    protected static $requiredParams = [ 'id', 'type' ];
17 17
 
18 18
     /**
19 19
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ChatLocation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
      *
13 13
      * @var array
14 14
      */
15
-    protected static $requiredParams = ['location', 'address'];
15
+    protected static $requiredParams = [ 'location', 'address' ];
16 16
 
17 17
     /**
18 18
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Message.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
      *
17 17
      * @var array
18 18
      */
19
-    protected static $requiredParams = ['message_id', 'date', 'chat'];
19
+    protected static $requiredParams = [ 'message_id', 'date', 'chat' ];
20 20
 
21 21
     /**
22 22
      * {@inheritdoc}
@@ -1044,7 +1044,7 @@  discard block
 block discarded – undo
1044 1044
      */
1045 1045
     public function setDeleteChatPhoto($deleteChatPhoto)
1046 1046
     {
1047
-        $this->deleteChatPhoto = (bool)$deleteChatPhoto;
1047
+        $this->deleteChatPhoto = (bool) $deleteChatPhoto;
1048 1048
     }
1049 1049
 
1050 1050
     /**
@@ -1060,7 +1060,7 @@  discard block
 block discarded – undo
1060 1060
      */
1061 1061
     public function setGroupChatCreated($groupChatCreated)
1062 1062
     {
1063
-        $this->groupChatCreated = (bool)$groupChatCreated;
1063
+        $this->groupChatCreated = (bool) $groupChatCreated;
1064 1064
     }
1065 1065
 
1066 1066
     /**
Please login to merge, or discard this patch.