Passed
Pull Request — master (#408)
by Alexander
02:08 queued 28s
created
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
-    static protected $requiredParams = ['command', 'description'];
15
+    static protected $requiredParams = [ 'command', 'description' ];
16 16
 
17 17
     /**
18 18
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ArrayOfMessageEntity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,9 +12,9 @@
 block discarded – undo
12 12
 {
13 13
     public static function fromResponse($data)
14 14
     {
15
-        $arrayOfMessageEntity = [];
15
+        $arrayOfMessageEntity = [ ];
16 16
         foreach ($data as $messageEntity) {
17
-            $arrayOfMessageEntity[] = MessageEntity::fromResponse($messageEntity);
17
+            $arrayOfMessageEntity[ ] = MessageEntity::fromResponse($messageEntity);
18 18
         }
19 19
 
20 20
         return $arrayOfMessageEntity;
Please login to merge, or discard this patch.
src/Types/ArrayOfMessages.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,9 +6,9 @@
 block discarded – undo
6 6
 {
7 7
     public static function fromResponse($data)
8 8
     {
9
-        $arrayOfMessages = [];
9
+        $arrayOfMessages = [ ];
10 10
         foreach ($data as $message) {
11
-            $arrayOfMessages[] = Message::fromResponse($message);
11
+            $arrayOfMessages[ ] = Message::fromResponse($message);
12 12
         }
13 13
 
14 14
         return $arrayOfMessages;
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
-    static protected $requiredParams = ['emoji', 'value'];
19
+    static protected $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
-    static protected $requiredParams = ['phone_number', 'first_name'];
21
+    static protected $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
-    static protected $requiredParams = ['file_id', 'file_unique_id', 'duration'];
22
+    static protected $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
-    static protected $requiredParams = ['id', 'type'];
16
+    static protected $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
-    static protected $requiredParams = ['location', 'address'];
15
+    static protected $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
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      *
16 16
      * @var array
17 17
      */
18
-    static protected $requiredParams = ['message_id', 'date', 'chat'];
18
+    static protected $requiredParams = [ 'message_id', 'date', 'chat' ];
19 19
 
20 20
     /**
21 21
      * {@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.