Fix types

This commit is contained in:
Esteban
2021-09-03 04:44:10 -04:00
parent 536ce1eca0
commit 253e9d10c8

View File

@ -389,9 +389,9 @@ final class Expectation
/**
* Asserts that the value contains the provided properties $names.
*
* @param array<string> $names
* @param iterable<array-key, string> $names
*/
public function toHaveProperties(array $names): Expectation
public function toHaveProperties(iterable $names): Expectation
{
foreach ($names as $name) {
$this->toHaveProperty($name);