Passed
Pull Request — master (#423)
by Alexander
01:51
created
src/Botan.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 
78 78
         BotApi::curlValidate($this->curl);
79 79
 
80
-        if ($result['status'] !== 'accepted') {
80
+        if ($result[ 'status' ] !== 'accepted') {
81 81
             throw new Exception('Error Processing Request');
82 82
         }
83 83
     }
Please login to merge, or discard this patch.
src/HttpException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
     /**
14 14
      * @var array
15 15
      */
16
-    protected $parameters = [];
16
+    protected $parameters = [ ];
17 17
 
18 18
     /**
19 19
      * HttpException constructor.
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
      * @param Exception $previous [optional] The previous throwable used for the exception chaining.
24 24
      * @param array     $parameters [optional] Array of parameters returned from API.
25 25
      */
26
-    public function __construct($message = '', $code = 0, Exception $previous = null, $parameters = [])
26
+    public function __construct($message = '', $code = 0, Exception $previous = null, $parameters = [ ])
27 27
     {
28 28
         $this->parameters = $parameters;
29 29
 
Please login to merge, or discard this patch.
src/Types/MaskPosition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
  */
15 15
 class MaskPosition extends BaseType implements TypeInterface
16 16
 {
17
-    protected static $requiredParams = ['point', 'x_shift', 'y_shift', 'scale'];
17
+    protected static $requiredParams = [ 'point', 'x_shift', 'y_shift', 'scale' ];
18 18
 
19 19
     protected static $map = [
20 20
         'point' => true,
Please login to merge, or discard this patch.
src/Types/ForumTopicCreated.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', 'icon_color'];
22
+    protected static $requiredParams = [ 'name', 'icon_color' ];
23 23
 
24 24
     /**
25 25
      * {@inheritdoc}
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/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/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/File.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
-    protected static $requiredParams = ['file_id'];
25
+    protected static $requiredParams = [ 'file_id' ];
26 26
 
27 27
     /**
28 28
      * {@inheritdoc}
Please login to merge, or discard this patch.
src/Types/CallbackQuery.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
-    protected static $requiredParams = ['id', 'from'];
26
+    protected static $requiredParams = [ 'id', 'from' ];
27 27
 
28 28
     /**
29 29
      * {@inheritdoc}
Please login to merge, or discard this patch.