From 89afb76ecc6cf17cb650c6c8db942db6c8ec8d46 Mon Sep 17 00:00:00 2001 From: Ilyes512 Date: Tue, 4 May 2021 17:25:55 +0200 Subject: [PATCH] Add more specific (static) return type to docblock --- lib/Assert/LazyAssertionException.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Assert/LazyAssertionException.php b/lib/Assert/LazyAssertionException.php index 2ba59dd7..9a3765de 100644 --- a/lib/Assert/LazyAssertionException.php +++ b/lib/Assert/LazyAssertionException.php @@ -23,6 +23,8 @@ class LazyAssertionException extends InvalidArgumentException /** * @param InvalidArgumentException[] $errors + * + * @return static */ public static function fromErrors(array $errors): self {