Update version of PHPStan packages

Some amazing features had to be ignored because it conflicts with out
coring standards. I hope to soon fix them so we can use PHPStan to its
fullest potential.

Signed-off-by: Henrique Moody <henriquemoody@gmail.com>
This commit is contained in:
Henrique Moody 2020-07-22 14:02:39 +02:00
commit 642602fd43
No known key found for this signature in database
GPG key ID: 221E9281655813A6
41 changed files with 109 additions and 65 deletions

View file

@ -24,7 +24,7 @@ use UnexpectedValueException;
final class RecursiveExceptionIterator implements RecursiveIterator, Countable
{
/**
* @var ArrayIterator|ValidationException[]
* @var ArrayIterator<int, ValidationException>
*/
private $exceptions;
@ -67,7 +67,7 @@ final class RecursiveExceptionIterator implements RecursiveIterator, Countable
public function key(): int
{
return $this->exceptions->key();
return (int) $this->exceptions->key();
}
public function next(): void