mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 08:17:22 +01:00
fix: resolve PHPStan warnings
This commit is contained in:
@ -151,7 +151,6 @@ final class Expectation
|
||||
throw new BadMethodCallException('Expectation value is not iterable.');
|
||||
}
|
||||
|
||||
//@phpstan-ignore-next-line
|
||||
$value = is_array($this->value) ? $this->value : iterator_to_array($this->value);
|
||||
$keys = array_keys($value);
|
||||
$values = array_values($value);
|
||||
|
||||
Reference in New Issue
Block a user