From 2cbecd10e6d2b06249d94a9333d1d5ae1dfa975f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borys=20=C5=BBmuda?= Date: Mon, 23 Oct 2023 11:23:53 +0200 Subject: [PATCH 1/2] Fix typo in toHaveProperties() PHPDoc block --- src/Mixins/Expectation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mixins/Expectation.php b/src/Mixins/Expectation.php index a6910b64..358892c7 100644 --- a/src/Mixins/Expectation.php +++ b/src/Mixins/Expectation.php @@ -314,7 +314,7 @@ final class Expectation /** * Asserts that the value contains the provided properties $names. * - * @param iterable $names + * @param iterable $names * @return self */ public function toHaveProperties(iterable $names, string $message = ''): self From 8be46b57a0b126a1f2127a44399d106e72880639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borys=20=C5=BBmuda?= Date: Fri, 24 Nov 2023 09:16:13 +0100 Subject: [PATCH 2/2] Update `toHaveProperties()` $names param --- src/Mixins/Expectation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mixins/Expectation.php b/src/Mixins/Expectation.php index 358892c7..b17a796b 100644 --- a/src/Mixins/Expectation.php +++ b/src/Mixins/Expectation.php @@ -314,7 +314,7 @@ final class Expectation /** * Asserts that the value contains the provided properties $names. * - * @param iterable $names + * @param iterable|iterable $names * @return self */ public function toHaveProperties(iterable $names, string $message = ''): self