From 253e9d10c8a25a0879665fa581f4819127957600 Mon Sep 17 00:00:00 2001 From: Esteban Date: Fri, 3 Sep 2021 04:44:10 -0400 Subject: [PATCH] Fix types --- src/Expectation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Expectation.php b/src/Expectation.php index 02d27c28..253b1e1e 100644 --- a/src/Expectation.php +++ b/src/Expectation.php @@ -389,9 +389,9 @@ final class Expectation /** * Asserts that the value contains the provided properties $names. * - * @param array $names + * @param iterable $names */ - public function toHaveProperties(array $names): Expectation + public function toHaveProperties(iterable $names): Expectation { foreach ($names as $name) { $this->toHaveProperty($name);