Passed
Pull Request — master (#408)
by Alexander
02:27
created
src/Types/PhotoSize.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', 'width', 'height'];
22
+    static protected $requiredParams = [ 'file_id', 'file_unique_id', 'width', 'height' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/MessageEntity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      *
43 43
      * @var array
44 44
      */
45
-    static protected $requiredParams = ['type', 'offset', 'length'];
45
+    static protected $requiredParams = [ 'type', 'offset', 'length' ];
46 46
 
47 47
     /**
48 48
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ArrayOfUpdates.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
-        $arrayOfUpdates = [];
9
+        $arrayOfUpdates = [ ];
10 10
         foreach ($data as $update) {
11
-            $arrayOfUpdates[] = Update::fromResponse($update);
11
+            $arrayOfUpdates[ ] = Update::fromResponse($update);
12 12
         }
13 13
 
14 14
         return $arrayOfUpdates;
Please login to merge, or discard this patch.
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/Voice.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/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.