Completed
Push — master ( a0a99e...ff1ff9 )
by Alexander
15s queued 14s
created
src/Types/ArrayOfMessages.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
-        $arrayOfMessages = [];
9
+        $arrayOfMessages = [ ];
10 10
         foreach ($data as $message) {
11
-            $arrayOfMessages[] = Message::fromResponse($message);
11
+            $arrayOfMessages[ ] = Message::fromResponse($message);
12 12
         }
13 13
 
14 14
         return $arrayOfMessages;
Please login to merge, or discard this patch.
src/Types/ArrayOfBotCommand.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
-        $arrayOfBotCommand = [];
9
+        $arrayOfBotCommand = [ ];
10 10
         foreach ($data as $botCommand) {
11
-            $arrayOfBotCommand[] = BotCommand::fromResponse($botCommand);
11
+            $arrayOfBotCommand[ ] = BotCommand::fromResponse($botCommand);
12 12
         }
13 13
 
14 14
         return $arrayOfBotCommand;
Please login to merge, or discard this patch.
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/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/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/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.