mirror of
https://github.com/Respect/Validation.git
synced 2026-03-18 08:09:51 +01:00
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:
parent
fc14c6c669
commit
642602fd43
41 changed files with 109 additions and 65 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue