diff --git a/rector.php b/rector.php index d31d555..4044504 100644 --- a/rector.php +++ b/rector.php @@ -29,7 +29,7 @@ // * https://github.com/rectorphp/rector/issues/8006 // * https://github.com/larastan/larastan/issues/1664#issuecomment-1637152828 $rectorConfig->bootstrapFiles([__DIR__ . '/vendor/larastan/larastan/bootstrap.php']); - $rectorConfig->phpstanConfig(__DIR__ . '/phpstan.neon.dist'); +// $rectorConfig->phpstanConfig(__DIR__ . '/phpstan.neon.dist'); $rectorConfig->sets([ LevelSetList::UP_TO_PHP_83, diff --git a/routes/web.php b/routes/web.php index 89c80cd..8260c2a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,4 +15,6 @@ | */ -Route::get('/', static fn() => view('welcome')); +Route::get('/', static function () { + return \App::make(\Illuminate\Contracts\Config\Repository::class)->get('app.url'); +});