Passed
Push — main ( 41e5bc...ca9ae3 )
by Miaad
01:45
created
src/receiver/multi.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
         if (lock::exist('BPT-MULTI-EXEC')) {
14 14
             self::setUpdate(exec::init());
15 15
         }
16
-        elseif(lock::exist('BPT-MULTI-CURL')) {
16
+        elseif (lock::exist('BPT-MULTI-CURL')) {
17 17
             self::setUpdate(curl::init());
18 18
         }
19 19
         else {
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,11 +12,9 @@
 block discarded – undo
12 12
     public static function init() {
13 13
         if (lock::exist('BPT-MULTI-EXEC')) {
14 14
             self::setUpdate(exec::init());
15
-        }
16
-        elseif(lock::exist('BPT-MULTI-CURL')) {
15
+        } elseif(lock::exist('BPT-MULTI-CURL')) {
17 16
             self::setUpdate(curl::init());
18
-        }
19
-        else {
17
+        } else {
20 18
             self::deleteOldLocks();
21 19
             self::checkURL();
22 20
             self::setCertificate();
Please login to merge, or discard this patch.
src/exception/bptException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,4 +7,4 @@
 block discarded – undo
7 7
 /**
8 8
  * Exceptions created by BPT and subclasses
9 9
  */
10
-class bptException extends Exception{}
11 10
\ No newline at end of file
11
+class bptException extends Exception {}
12 12
\ No newline at end of file
Please login to merge, or discard this patch.
src/types/responseError.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
     public string $description;
19 19
 
20 20
 
21
-    public function __construct(stdClass|null $object = null) {
21
+    public function __construct(stdClass | null $object = null) {
22 22
         if ($object != null) {
23 23
             parent::__construct($object, self::subs);
24 24
         }
Please login to merge, or discard this patch.
src/types/callbackGame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /** Keep all of properties which has sub properties */
12 12
     private const subs = [];
13 13
 
14
-    public function __construct(stdClass|null $object = null) {
14
+    public function __construct(stdClass | null $object = null) {
15 15
         if ($object != null) {
16 16
             parent::__construct($object, self::subs);
17 17
         }
Please login to merge, or discard this patch.
src/types/passportFile.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
     public int $file_date;
29 29
 
30 30
 
31
-    public function __construct(stdClass|null $object = null) {
31
+    public function __construct(stdClass | null $object = null) {
32 32
         if ($object != null) {
33 33
             parent::__construct($object, self::subs);
34 34
         }
Please login to merge, or discard this patch.
src/types/passportData.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
     public encryptedCredentials $credentials;
25 25
 
26 26
 
27
-    public function __construct(stdClass|null $object = null) {
27
+    public function __construct(stdClass | null $object = null) {
28 28
         if ($object != null) {
29 29
             parent::__construct($object, self::subs);
30 30
         }
Please login to merge, or discard this patch.
src/types/botCommand.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
     public string $description;
19 19
 
20 20
 
21
-    public function __construct(stdClass|null $object = null) {
21
+    public function __construct(stdClass | null $object = null) {
22 22
         if ($object != null) {
23 23
             parent::__construct($object, self::subs);
24 24
         }
Please login to merge, or discard this patch.
src/types/keyboardButtonPollType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public string $type;
16 16
 
17 17
 
18
-    public function __construct(stdClass|null $object = null) {
18
+    public function __construct(stdClass | null $object = null) {
19 19
         if ($object != null) {
20 20
             parent::__construct($object, self::subs);
21 21
         }
Please login to merge, or discard this patch.
src/types/inlineQueryResult.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -314,7 +314,7 @@
 block discarded – undo
314 314
     public string $audio_file_id;
315 315
 
316 316
 
317
-    public function __construct(stdClass|null $object = null) {
317
+    public function __construct(stdClass | null $object = null) {
318 318
         if ($object != null) {
319 319
             parent::__construct($object, self::subs);
320 320
         }
Please login to merge, or discard this patch.