From c72ef585556578105c4d5cc56324575ef3677fd2 Mon Sep 17 00:00:00 2001 From: irazasyed Date: Mon, 11 Mar 2024 03:11:26 +0000 Subject: [PATCH] Fix styling --- src/FileUpload/InputFile.php | 1 - src/HttpClients/GuzzleHttpClient.php | 3 +-- src/Laravel/Facades/Telegram.php | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/FileUpload/InputFile.php b/src/FileUpload/InputFile.php index 087a10b2..83fb0d14 100644 --- a/src/FileUpload/InputFile.php +++ b/src/FileUpload/InputFile.php @@ -27,7 +27,6 @@ public static function create(mixed $file = null, ?string $filename = null): sel /** * Create a file on-the-fly using the provided contents and filename. - * */ public static function createFromContents(string $contents, string $filename): InputFile { diff --git a/src/HttpClients/GuzzleHttpClient.php b/src/HttpClients/GuzzleHttpClient.php index a78c2da7..419dda7d 100644 --- a/src/HttpClients/GuzzleHttpClient.php +++ b/src/HttpClients/GuzzleHttpClient.php @@ -2,12 +2,11 @@ namespace Telegram\Bot\HttpClients; -use GuzzleHttp\Promise\Utils; use GuzzleHttp\Client; use GuzzleHttp\ClientInterface; use GuzzleHttp\Exception\GuzzleException; -use GuzzleHttp\Promise; use GuzzleHttp\Promise\PromiseInterface; +use GuzzleHttp\Promise\Utils; use GuzzleHttp\RequestOptions; use Psr\Http\Client\RequestExceptionInterface; use Psr\Http\Message\ResponseInterface; diff --git a/src/Laravel/Facades/Telegram.php b/src/Laravel/Facades/Telegram.php index 5b9a566d..24de9dd0 100644 --- a/src/Laravel/Facades/Telegram.php +++ b/src/Laravel/Facades/Telegram.php @@ -144,7 +144,6 @@ * @method static \Telegram\Bot\Commands\CommandBus addCommand(\Telegram\Bot\Commands\CommandInterface|string $command) * @method static \Telegram\Bot\Commands\CommandBus removeCommand(string $name) * @method static \Telegram\Bot\Commands\CommandBus removeCommands(array $names) - * */ final class Telegram extends Facade {