@@ -64,11 +64,12 @@ class ResponseCollection implements ArrayAccess, SeekableIterator, Countable
64
64
65
65
/**
66
66
* @var array An array with positions of responses, based on an argument
67
- * name. The name of each argument is the array key, and the array value is
68
- * another array where the key is the value for that argument, and the value
69
- * is the posistion of the response. For performance reasons, each key is
70
- * built only when {@link static::setIndex()} is called with that argument,
71
- * and remains available for the lifetime of this collection.
67
+ * name. The name of each argument is the array key, and the array value
68
+ * is another array where the key is the value for that argument, and
69
+ * the value is the posistion of the response. For performance reasons,
70
+ * each key is built only when {@link static::setIndex()} is called with
71
+ * that argument, and remains available for the lifetime of this
72
+ * collection.
72
73
*/
73
74
protected $ responsesIndex = array ();
74
75
@@ -171,7 +172,7 @@ public function getIndex()
171
172
* Gets the whole collection as an array.
172
173
*
173
174
* @param bool $useIndex Whether to use the index values as keys for the
174
- * resulting array.
175
+ * resulting array.
175
176
*
176
177
* @return array An array with all responses, in network order.
177
178
*/
@@ -217,7 +218,7 @@ public function offsetExists($offset)
217
218
* Gets a {@link Response} from a specified offset.
218
219
*
219
220
* @param int|string $offset The offset of the desired response. If the
220
- * collection is indexed, you can also supply the value to search for.
221
+ * collection is indexed, you can also supply the value to search for.
221
222
*
222
223
* @return Response The response at the specified offset.
223
224
*/
@@ -274,7 +275,7 @@ public function rewind()
274
275
* Moves the position pointer to a specified position.
275
276
*
276
277
* @param int|string $position The position to move to. If the collection is
277
- * indexed, you can also supply a value to move the pointer to.
278
+ * indexed, you can also supply a value to move the pointer to.
278
279
*
279
280
* @return Response The {@link Response} at the specified position, or FALSE
280
281
* if the specified position is not valid.
0 commit comments