]> BookStack Code Mirror - bookstack/blobdiff - app/Exceptions/Handler.php
Followed Laravel 9 update steps and file changes
[bookstack] / app / Exceptions / Handler.php
index 187664f9ef7cf779c9f7e85321975e176f789d42..9667944d4a4e330fe9621b9d042061f679653478 100644 (file)
@@ -17,7 +17,7 @@ class Handler extends ExceptionHandler
     /**
      * A list of the exception types that are not reported.
      *
-     * @var array
+     * @var array<int, class-string<\Throwable>>
      */
     protected $dontReport = [
         NotFoundException::class,
@@ -25,9 +25,9 @@ class Handler extends ExceptionHandler
     ];
 
     /**
-     * A list of the inputs that are never flashed for validation exceptions.
+     * A list of the inputs that are never flashed to the session on validation exceptions.
      *
-     * @var array
+     * @var array<int, string>
      */
     protected $dontFlash = [
         'current_password',