src/NutgramServiceProvider.php
Method register
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function register()
{
$this->telegramRoutes = $this->app->basePath('routes/telegram.php');
$this->mergeConfigFrom(self::CONFIG_PATH, 'nutgram');
Method boot
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function boot(): void
{
$this->loadViewsFrom(__DIR__.'/../resources/views/logging', 'logging');
if ($this->app->runningInConsole()) {