PHPDoc types should be covariant with the parent type (#5714)

This commit is contained in:
Can Vural
2021-10-25 20:16:13 +02:00
committed by GitHub
parent 9915831d22
commit 1542783002

View File

@@ -10,7 +10,7 @@ class Handler extends ExceptionHandler
/** /**
* A list of the exception types that are not reported. * A list of the exception types that are not reported.
* *
* @var array * @var string[]
*/ */
protected $dontReport = [ protected $dontReport = [
// //
@@ -19,7 +19,7 @@ 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 for validation exceptions.
* *
* @var array * @var string[]
*/ */
protected $dontFlash = [ protected $dontFlash = [
'current_password', 'current_password',