Passed
Pull Request — master (#408)
by Alexander
02:08 queued 28s
created
src/Types/ArrayOfChatMemberEntity.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
-        $arrayOfChatMemberEntity = [];
9
+        $arrayOfChatMemberEntity = [ ];
10 10
         foreach ($data as $chatMemberEntity) {
11
-            $arrayOfChatMemberEntity[] = ChatMember::fromResponse($chatMemberEntity);
11
+            $arrayOfChatMemberEntity[ ] = ChatMember::fromResponse($chatMemberEntity);
12 12
         }
13 13
 
14 14
         return $arrayOfChatMemberEntity;
Please login to merge, or discard this patch.
src/Types/StickerSet.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 = ['name', 'title', 'sticker_type', 'is_animated', 'is_video', 'stickers'];
22
+    protected static $requiredParams = [ 'name', 'title', 'sticker_type', 'is_animated', 'is_video', 'stickers' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ArrayOfSticker.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
-        $arrayOfStickers = [];
9
+        $arrayOfStickers = [ ];
10 10
         foreach ($data as $sticker) {
11
-            $arrayOfStickers[] = Sticker::fromResponse($sticker);
11
+            $arrayOfStickers[ ] = Sticker::fromResponse($sticker);
12 12
         }
13 13
 
14 14
         return $arrayOfStickers;
Please login to merge, or discard this patch.
src/Types/ForumTopic.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 = ['message_thread_id', 'name', 'icon_color'];
22
+    protected static $requiredParams = [ 'message_thread_id', 'name', 'icon_color' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Update.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
      *
24 24
      * @var array
25 25
      */
26
-    static protected $requiredParams = ['update_id'];
26
+    static protected $requiredParams = [ 'update_id' ];
27 27
 
28 28
     /**
29 29
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/InputMedia/InputMedia.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 = ['type', 'media'];
21
+    static protected $requiredParams = [ 'type', 'media' ];
22 22
 
23 23
     /**
24 24
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Payments/ShippingAddress.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var array
17 17
      */
18
-    static protected $requiredParams = ['country_code', 'state', 'city', 'street_line1', 'street_line2', 'post_code'];
18
+    static protected $requiredParams = [ 'country_code', 'state', 'city', 'street_line1', 'street_line2', 'post_code' ];
19 19
 
20 20
     /**
21 21
      * @var array
Please login to merge, or discard this patch.
src/Types/Payments/ArrayOfLabeledPrice.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
-        $arrayOfLabeledPrice = [];
9
+        $arrayOfLabeledPrice = [ ];
10 10
         foreach ($data as $labeledPrice) {
11
-            $arrayOfLabeledPrice[] = LabeledPrice::fromResponse($labeledPrice);
11
+            $arrayOfLabeledPrice[ ] = LabeledPrice::fromResponse($labeledPrice);
12 12
         }
13 13
 
14 14
         return $arrayOfLabeledPrice;
Please login to merge, or discard this patch.
src/Types/Payments/LabeledPrice.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     /**
16 16
      * @var array
17 17
      */
18
-    static protected $requiredParams = ['label', 'amount'];
18
+    static protected $requiredParams = [ 'label', 'amount' ];
19 19
 
20 20
     /**
21 21
      * @var array
Please login to merge, or discard this patch.