summaryrefslogtreecommitdiff
path: root/vendor/beberlei/assert/lib/Assert/LazyAssertionException.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-11-15 18:33:35 +0300
committerAndrew Dolgov <[email protected]>2021-11-15 18:33:35 +0300
commit4c37fa4b41b0cab50a4fc192e9120042dbe36872 (patch)
treed7ca7cbd65de0cea9806870c8fb646ed15d978ae /vendor/beberlei/assert/lib/Assert/LazyAssertionException.php
parent109b702ed0cd31a0dc8466b8127882d263705d8d (diff)
update phpstan to 1.1.2; update php-qrcode to 3.4.1
Diffstat (limited to 'vendor/beberlei/assert/lib/Assert/LazyAssertionException.php')
-rw-r--r--vendor/beberlei/assert/lib/Assert/LazyAssertionException.php7
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;
}