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');