Passed
Pull Request — master (#408)
by Alexander
02:08 queued 28s
created
src/Types/ArrayOfUser.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
-        $arrayOfUsers = [];
9
+        $arrayOfUsers = [ ];
10 10
         foreach ($data as $user) {
11
-            $arrayOfUsers[] = User::fromResponse($user);
11
+            $arrayOfUsers[ ] = User::fromResponse($user);
12 12
         }
13 13
 
14 14
         return $arrayOfUsers;
Please login to merge, or discard this patch.
src/Types/UserProfilePhotos.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 = ['total_count', 'photos'];
22
+    static protected $requiredParams = [ 'total_count', 'photos' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/User.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 = ['id', 'first_name'];
22
+    static protected $requiredParams = [ 'id', 'first_name' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/ArrayOfArrayOfPhotoSize.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
6 6
 {
7 7
     public static function fromResponse($data)
8 8
     {
9
-        return array_map(function ($arrayOfPhotoSize) {
9
+        return array_map(function($arrayOfPhotoSize) {
10 10
             return ArrayOfPhotoSize::fromResponse($arrayOfPhotoSize);
11 11
         }, $data);
12 12
     }
Please login to merge, or discard this patch.
src/Types/VideoNote.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
 class VideoNote extends BaseType implements TypeInterface
15 15
 {
16
-    protected static $requiredParams = ['file_id', 'file_unique_id', 'length', 'duration'];
16
+    protected static $requiredParams = [ 'file_id', 'file_unique_id', 'length', 'duration' ];
17 17
 
18 18
     protected static $map = [
19 19
         'file_id' => true,
Please login to merge, or discard this patch.
src/Types/ReplyKeyboardHide.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
-    static protected $requiredParams = ['hide_keyboard'];
23
+    static protected $requiredParams = [ 'hide_keyboard' ];
24 24
 
25 25
     /**
26 26
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/WebhookInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
      *
23 23
      * @var array
24 24
      */
25
-    static protected $requiredParams = ['url', 'has_custom_certificate', 'pending_update_count'];
25
+    static protected $requiredParams = [ 'url', 'has_custom_certificate', 'pending_update_count' ];
26 26
 
27 27
     /**
28 28
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Inline/InputMessageContent/Text.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      *
27 27
      * @var array
28 28
      */
29
-    static protected $requiredParams = ['message_text'];
29
+    static protected $requiredParams = [ 'message_text' ];
30 30
 
31 31
     /**
32 32
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/Inline/InputMessageContent/Venue.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      *
26 26
      * @var array
27 27
      */
28
-    static protected $requiredParams = ['latitude', 'longitude', 'title', 'address'];
28
+    static protected $requiredParams = [ 'latitude', 'longitude', 'title', 'address' ];
29 29
 
30 30
     /**
31 31
      * {@inheritdoc}
Please login to merge, or discard this patch.