Passed
Pull Request — master (#456)
by Alexander
01:42
created
src/Types/ArrayOfChatMemberEntity.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
      */
11 11
     public static function fromResponse($data)
12 12
     {
13
-        $arrayOfChatMemberEntity = [];
13
+        $arrayOfChatMemberEntity = [ ];
14 14
         foreach ($data as $chatMemberEntity) {
15
-            $arrayOfChatMemberEntity[] = ChatMember::fromResponse($chatMemberEntity);
15
+            $arrayOfChatMemberEntity[ ] = ChatMember::fromResponse($chatMemberEntity);
16 16
         }
17 17
 
18 18
         return $arrayOfChatMemberEntity;
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
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
      */
11 11
     public static function fromResponse($data)
12 12
     {
13
-        $arrayOfStickers = [];
13
+        $arrayOfStickers = [ ];
14 14
         foreach ($data as $sticker) {
15
-            $arrayOfStickers[] = Sticker::fromResponse($sticker);
15
+            $arrayOfStickers[ ] = Sticker::fromResponse($sticker);
16 16
         }
17 17
 
18 18
         return $arrayOfStickers;
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
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
      */
11 11
     public static function fromResponse($data)
12 12
     {
13
-        $arrayOfLabeledPrice = [];
13
+        $arrayOfLabeledPrice = [ ];
14 14
         foreach ($data as $labeledPrice) {
15
-            $arrayOfLabeledPrice[] = LabeledPrice::fromResponse($labeledPrice);
15
+            $arrayOfLabeledPrice[ ] = LabeledPrice::fromResponse($labeledPrice);
16 16
         }
17 17
 
18 18
         return $arrayOfLabeledPrice;
Please login to merge, or discard this patch.
src/Types/SentWebAppMessage.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 = [];
15
+    protected static $requiredParams = [ ];
16 16
 
17 17
     /**
18 18
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/WebAppData.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 = ['data', 'button_text'];
15
+    protected static $requiredParams = [ 'data', 'button_text' ];
16 16
 
17 17
     /**
18 18
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ReplyKeyboardMarkup.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
      *
18 18
      * @var array
19 19
      */
20
-    protected static $requiredParams = ['keyboard'];
20
+    protected static $requiredParams = [ 'keyboard' ];
21 21
 
22 22
     /**
23 23
      * {@inheritdoc}
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
      * @param bool|null $isPersistent
91 91
      * @param string|null $inputFieldPlaceholder
92 92
      */
93
-    public function __construct($keyboard = [], $oneTimeKeyboard = null, $resizeKeyboard = null, $selective = null, $isPersistent = null, $inputFieldPlaceholder = null)
93
+    public function __construct($keyboard = [ ], $oneTimeKeyboard = null, $resizeKeyboard = null, $selective = null, $isPersistent = null, $inputFieldPlaceholder = null)
94 94
     {
95 95
         $this->keyboard = $keyboard;
96 96
         $this->oneTimeKeyboard = $oneTimeKeyboard;
Please login to merge, or discard this patch.
src/Types/Inline/QueryResult/Mpeg4Gif.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * @var array
22 22
      */
23
-    protected static $requiredParams = ['type', 'id', 'mpeg4_url', 'thumbnail_url'];
23
+    protected static $requiredParams = [ 'type', 'id', 'mpeg4_url', 'thumbnail_url' ];
24 24
 
25 25
     /**
26 26
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Inline/QueryResult/Gif.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      *
21 21
      * @var array
22 22
      */
23
-    protected static $requiredParams = ['type', 'id', 'gif_url', 'thumbnail_url'];
23
+    protected static $requiredParams = [ 'type', 'id', 'gif_url', 'thumbnail_url' ];
24 24
 
25 25
     /**
26 26
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Inline/QueryResult/Photo.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 = ['type', 'id', 'photo_url', 'thumbnail_url'];
22
+    protected static $requiredParams = [ 'type', 'id', 'photo_url', 'thumbnail_url' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.