Passed
Push — main ( a7eb08...4a7474 )
by Miaad
01:30
created
api/telegram.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,7 +214,7 @@  discard block
 block discarded – undo
214 214
  * @method static getGameHigh (int|null|array $user_id = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, string|null $token = null, bool|null $return_array = null, bool|null $forgot = null, bool|null $answer = null) Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an Array of GameHighScore objects.
215 215
  */
216 216
 class telegram {
217
-    public function __call (string $name, array $arguments) {
217
+    public function __call(string $name, array $arguments) {
218 218
         if (!isset($arguments[1]) && is_array($arguments[0])) {
219 219
             return request::$name(...$arguments[0]);
220 220
         }
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
         }
224 224
     }
225 225
 
226
-    public static function __callStatic (string $name, array $arguments) {
226
+    public static function __callStatic(string $name, array $arguments) {
227 227
         if (!isset($arguments[1]) && is_array($arguments[0])) {
228 228
             return request::$name(...$arguments[0]);
229 229
         }
Please login to merge, or discard this patch.
BPT.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -217,18 +217,18 @@  discard block
 block discarded – undo
217 217
  * @method getGameHighScores (int|null|array $user_id = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, string|null $token = null, bool|null $return_array = null, bool|null $forgot = null, bool|null $answer = null) Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an Array of GameHighScore objects.
218 218
  * @method getGameHigh (int|null|array $user_id = null, int|null $chat_id = null, int|null $message_id = null, string|null $inline_message_id = null, string|null $token = null, bool|null $return_array = null, bool|null $forgot = null, bool|null $answer = null) Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. On success, returns an Array of GameHighScore objects.
219 219
  */
220
-class BPT{
220
+class BPT {
221 221
     public static update $update;
222 222
 
223 223
     public static BPT $handler;
224 224
 
225 225
 
226
-    public function __construct (array|stdClass $settings) {
226
+    public function __construct(array | stdClass $settings) {
227 227
         settings::init($settings);
228 228
         static::$handler = &$this;
229 229
     }
230 230
 
231
-    public function __call (string $name, array $arguments) {
231
+    public function __call(string $name, array $arguments) {
232 232
         if (!isset($arguments[1]) && is_array($arguments[0])) {
233 233
             return request::$name(...$arguments[0]);
234 234
         }
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
         }
238 238
     }
239 239
 
240
-    public static function exit (string|null $message = null) {
240
+    public static function exit (string | null $message = null) {
241 241
         die($message ?? "<div style='width:98vw;height:98vh;display:flex;justify-content:center;align-items:center;font-size:25vw'>BPT</div>");
242 242
     }
243 243
 }
Please login to merge, or discard this patch.