Skip to content

Commit

Permalink
Specify value type and remove app/Exceptions/Handler.php from excluded
Browse files Browse the repository at this point in the history
  • Loading branch information
nbayramberdiyev committed Aug 5, 2022
1 parent e36d6c0 commit 5cd6568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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 = [
//
Expand All @@ -19,7 +19,7 @@ class Handler extends ExceptionHandler
/**
* A list of the inputs that are never flashed for validation exceptions.
*
* @var array
* @var array<int, string>
*/
protected $dontFlash = [
'password',
Expand Down
1 change: 0 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,3 @@ parameters:
level: max
excludePaths:
- app/Http/Middleware/*.php
- app/Exceptions/Handler.php

0 comments on commit 5cd6568

Please sign in to comment.