This commit is contained in:
Fabien Potencier
2016-12-27 11:58:11 +01:00
parent 289dad5898
commit 91938100bb
+2 -2
View File
@@ -332,7 +332,7 @@ final class CoreTestIterator implements Iterator
return $this->array[$this->key()];
}
throw new \LogicException('Code should only use the keys, not the values provided by iterator.');
throw new LogicException('Code should only use the keys, not the values provided by iterator.');
}
public function key()
@@ -344,7 +344,7 @@ final class CoreTestIterator implements Iterator
{
++$this->position;
if ($this->position === $this->maxPosition) {
throw new \LogicException(sprintf('Code should not iterate beyond %d.', $this->maxPosition));
throw new LogicException(sprintf('Code should not iterate beyond %d.', $this->maxPosition));
}
}