|
|
@@ -28,8 +28,8 @@ class UnfoldIterator extends IteratorIterator implements RecursiveIterator
|
|
|
{
|
|
|
|
|
|
/**
|
|
|
- * A functions that gets passed each of the elements of this iterator and
|
|
|
- * that must return an array or Traversable object.
|
|
|
+ * A function that is passed each element in this iterator and
|
|
|
+ * must return an array or Traversable object.
|
|
|
*
|
|
|
* @var callable
|
|
|
*/
|
|
|
@@ -70,7 +70,7 @@ class UnfoldIterator extends IteratorIterator implements RecursiveIterator
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * Returns an iterator containing the items generated out of transforming
|
|
|
+ * Returns an iterator containing the items generated by transforming
|
|
|
* the current value with the callable function.
|
|
|
*
|
|
|
* @return \RecursiveIterator
|