Passed
Pull Request — master (#408)
by Alexander
02:08 queued 28s
created
src/Types/Inline/InlineKeyboardMarkup.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
-    static protected $requiredParams = ['inline_keyboard'];
20
+    static protected $requiredParams = [ 'inline_keyboard' ];
21 21
 
22 22
     /**
23 23
      * {@inheritdoc}
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     /**
40 40
      * @param array $inlineKeyboard
41 41
      */
42
-    public function __construct($inlineKeyboard = [])
42
+    public function __construct($inlineKeyboard = [ ])
43 43
     {
44 44
         $this->inlineKeyboard = $inlineKeyboard;
45 45
     }
Please login to merge, or discard this patch.
src/Types/Inline/ChosenInlineResult.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 = ['result_id', 'from', 'query'];
22
+    static protected $requiredParams = [ 'result_id', 'from', 'query' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Venue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      *
25 25
      * @var array
26 26
      */
27
-    static protected $requiredParams = ['location', 'title', 'address'];
27
+    static protected $requiredParams = [ 'location', 'title', 'address' ];
28 28
 
29 29
     /**
30 30
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/PollAnswer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      *
22 22
      * @var array
23 23
      */
24
-    static protected $requiredParams = ['poll_id', 'option_ids', 'user'];
24
+    static protected $requiredParams = [ 'poll_id', 'option_ids', 'user' ];
25 25
 
26 26
     /**
27 27
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ArrayOfPhotoSize.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
-        $arrayOfPhotoSize = [];
9
+        $arrayOfPhotoSize = [ ];
10 10
         foreach ($data as $photoSizeItem) {
11
-            $arrayOfPhotoSize[] = PhotoSize::fromResponse($photoSizeItem);
11
+            $arrayOfPhotoSize[ ] = PhotoSize::fromResponse($photoSizeItem);
12 12
         }
13 13
 
14 14
         return $arrayOfPhotoSize;
Please login to merge, or discard this patch.
src/Types/ForceReply.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 = ['force_reply'];
22
+    static protected $requiredParams = [ 'force_reply' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ReplyKeyboardRemove.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 = ['remove_keyboard'];
21
+    static protected $requiredParams = [ 'remove_keyboard' ];
22 22
 
23 23
     /**
24 24
      * {@inheritdoc}
Please login to merge, or discard this patch.
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.