diff --git a/docs-assets/app/app/Exceptions/Handler.php b/docs-assets/app/app/Exceptions/Handler.php index b1c262c6d5..56c7afdb96 100644 --- a/docs-assets/app/app/Exceptions/Handler.php +++ b/docs-assets/app/app/Exceptions/Handler.php @@ -3,6 +3,7 @@ namespace App\Exceptions; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; +use Psr\Log\LogLevel; use Throwable; class Handler extends ExceptionHandler @@ -10,7 +11,7 @@ class Handler extends ExceptionHandler /** * A list of exception types with their corresponding custom log levels. * - * @var array, \Psr\Log\LogLevel::*> + * @var array, LogLevel::*> */ protected $levels = [ // @@ -19,7 +20,7 @@ class Handler extends ExceptionHandler /** * A list of the exception types that are not reported. * - * @var array> + * @var array> */ protected $dontReport = [ // diff --git a/docs-assets/app/app/Http/Middleware/RedirectIfAuthenticated.php b/docs-assets/app/app/Http/Middleware/RedirectIfAuthenticated.php index afc78c4e53..b92e43f7ec 100644 --- a/docs-assets/app/app/Http/Middleware/RedirectIfAuthenticated.php +++ b/docs-assets/app/app/Http/Middleware/RedirectIfAuthenticated.php @@ -13,7 +13,7 @@ class RedirectIfAuthenticated /** * Handle an incoming request. * - * @param \Closure(\Illuminate\Http\Request): (\Symfony\Component\HttpFoundation\Response) $next + * @param Closure(Request): (Response) $next */ public function handle(Request $request, Closure $next, string ...$guards): Response { diff --git a/packages/infolists/src/Concerns/InteractsWithInfolists.php b/packages/infolists/src/Concerns/InteractsWithInfolists.php index 4417c8f688..a907b69312 100644 --- a/packages/infolists/src/Concerns/InteractsWithInfolists.php +++ b/packages/infolists/src/Concerns/InteractsWithInfolists.php @@ -4,7 +4,6 @@ namespace Filament\Infolists\Concerns; use Exception; use Filament\Actions\Contracts\HasActions; -use Filament\Forms; use Filament\Forms\Contracts\HasForms; use Filament\Forms\Form; use Filament\Infolists\Components\Actions\Action; @@ -350,7 +349,7 @@ trait InteractsWithInfolists } /** - * @return array + * @return array */ protected function getInteractsWithInfolistsForms(): array { diff --git a/packages/support/src/Commands/CheckTranslationsCommand.php b/packages/support/src/Commands/CheckTranslationsCommand.php index dcd0273e49..a640822c5c 100644 --- a/packages/support/src/Commands/CheckTranslationsCommand.php +++ b/packages/support/src/Commands/CheckTranslationsCommand.php @@ -11,6 +11,7 @@ use Illuminate\Support\Str; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Exception\InvalidOptionException; use Symfony\Component\Finder\SplFileInfo; + use function Laravel\Prompts\info; use function Laravel\Prompts\table; use function Laravel\Prompts\warning;