diff options
author | Andrew Dolgov <[email protected]> | 2021-11-18 07:32:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-11-18 07:32:28 +0300 |
commit | 63ec5a89657bb7f9650582b96e0bb255a0889b48 (patch) | |
tree | 074b61eedd7304ba1d8d7deec01d26973ef8e6b8 /vendor/beberlei/assert/lib/Assert/LazyAssertionException.php | |
parent | 3a3fde1a2e0beac6d179c6449eaad726100710d7 (diff) | |
parent | 2d830c6281c19a7ee29cd379f5aedc82deef3775 (diff) |
Merge branch 'wip-phpstan-level6'
Diffstat (limited to 'vendor/beberlei/assert/lib/Assert/LazyAssertionException.php')
-rw-r--r-- | vendor/beberlei/assert/lib/Assert/LazyAssertionException.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/vendor/beberlei/assert/lib/Assert/LazyAssertionException.php b/vendor/beberlei/assert/lib/Assert/LazyAssertionException.php index f76ecc699..0a834c1cb 100644 --- a/vendor/beberlei/assert/lib/Assert/LazyAssertionException.php +++ b/vendor/beberlei/assert/lib/Assert/LazyAssertionException.php @@ -26,7 +26,7 @@ class LazyAssertionException extends InvalidArgumentException * * @return self */ - public static function fromErrors(array $errors): self + public static function fromErrors(array $errors) { $message = \sprintf('The following %d assertions failed:', \count($errors))."\n"; @@ -45,10 +45,7 @@ class LazyAssertionException extends InvalidArgumentException $this->errors = $errors; } - /** - * @return InvalidArgumentException[] - */ - public function getErrorExceptions(): array + public function getErrorExceptions() { return $this->errors; } |