From efd1dfad54b09bc8a6361dbc5aaa75f4405b21e3 Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Tue, 17 Dec 2019 13:02:42 +0100 Subject: [PATCH] Fix typo. --- spec/Prophecy/Prophecy/MethodProphecySpec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/Prophecy/Prophecy/MethodProphecySpec.php b/spec/Prophecy/Prophecy/MethodProphecySpec.php index 8ad60f86f..955822f26 100644 --- a/spec/Prophecy/Prophecy/MethodProphecySpec.php +++ b/spec/Prophecy/Prophecy/MethodProphecySpec.php @@ -167,7 +167,7 @@ function it_yields_elements_configured_in_willYield(ObjectProphecy $objectProphe $this->getPromise()->execute(array(), $objectProphecy, $this)->shouldYield(array('foo', 'bar')); } - function it_yields_key_value_paris_configured_in_willYield(ObjectProphecy $objectProphecy) + function it_yields_key_value_pairs_configured_in_willYield(ObjectProphecy $objectProphecy) { if (PHP_VERSION_ID < 70000) { throw new SkippingException('Yield language feature was introduced in >=5.5 but shouldYield matcher only available in >=7.0');