diff --git a/config/telegram-git-notifier.php b/config/telegram-git-notifier.php index f778fc6..ee50fc8 100644 --- a/config/telegram-git-notifier.php +++ b/config/telegram-git-notifier.php @@ -4,7 +4,7 @@ 'app' => [ 'name' => env('APP_NAME', 'Laravel Telegram Git Notify'), 'url' => env('APP_URL', 'http://localhost:8000'), - 'timezone' => env('TIMEZONE','Asia/Ho_Chi_Minh'), + 'timezone' => env('TIMEZONE', 'Asia/Ho_Chi_Minh'), ], 'telegram-bot' => [ @@ -18,7 +18,7 @@ 'author' => [ 'contact' => env('TGN_AUTHOR_CONTACT', 'https://t.me/tannp27'), - 'source_code' => env('TGN_AUTHOR_SOURCE_CODE','https://github.com/lbiltech/telegram-git-notifier'), + 'source_code' => env('TGN_AUTHOR_SOURCE_CODE', 'https://github.com/lbiltech/telegram-git-notifier'), ], 'view' => [ @@ -28,6 +28,6 @@ ], 'globals' => [ 'access_denied' => env('TGN_VIEW_GLOBALS_ACCESS_DENIED', 'globals.access_denied'), - ] - ] + ], + ], ]; diff --git a/routes/bot.php b/routes/bot.php index 4b71d1c..dcdf28f 100644 --- a/routes/bot.php +++ b/routes/bot.php @@ -18,4 +18,3 @@ Route::get('/set-webhook', [WebhookAction::class, 'set'])->name('set-webhook'); Route::get('/delete-webhook', [WebhookAction::class, 'delete'])->name('delete-webhook'); }); - diff --git a/src/Http/Actions/WebhookAction.php b/src/Http/Actions/WebhookAction.php index 6a1682c..5f5196f 100644 --- a/src/Http/Actions/WebhookAction.php +++ b/src/Http/Actions/WebhookAction.php @@ -5,9 +5,7 @@ use LbilTech\TelegramGitNotifier\Services\WebhookService; /** - * Class WebhookAction - * - * @package LbilTech\LaravelTelegramGitNotifier\Http\Actions + * Class WebhookAction. */ class WebhookAction { @@ -23,7 +21,7 @@ public function __construct(WebhookService $webhookService) } /** - * Set webhook for telegram bot + * Set webhook for telegram bot. * * @return false|string */ @@ -33,7 +31,7 @@ public function set(): false|string } /** - * Delete webhook for telegram bot + * Delete webhook for telegram bot. * * @return false|string */