diff --git a/src/ORM/ResultSet.php b/src/ORM/ResultSet.php index d09a27186e8..d4b7146dee0 100644 --- a/src/ORM/ResultSet.php +++ b/src/ORM/ResultSet.php @@ -36,7 +36,7 @@ class ResultSet implements Countable, Iterator, Serializable, JsonSerializable { use CollectionTrait; /** - * Original query from where results where generated + * Original query from where results were generated * * @var Query */ @@ -133,6 +133,8 @@ public function __construct($query, $statement) { /** * Returns the current record in the result iterator * + * Part of Iterator interface. + * * @return array|object */ public function current() { @@ -142,6 +144,8 @@ public function current() { /** * Returns the key of the current record in the iterator * + * Part of Iterator interface. + * * @return integer */ public function key() { @@ -151,6 +155,8 @@ public function key() { /** * Advances the iterator pointer to the next record * + * Part of Iterator interface. + * * @return void */ public function next() { @@ -160,6 +166,8 @@ public function next() { /** * Rewind a ResultSet. * + * Part of Iterator interface. + * * @throws Cake\Database\Exception * @return void */ @@ -179,6 +187,8 @@ public function rewind() { /** * Whether there are more results to be fetched from the iterator * + * Part of Iterator interface. + * * @return boolean */ public function valid() { @@ -257,7 +267,7 @@ public function first() { /** * Gives the number of rows in the result set. * - * Part of the countable interface. + * Part of the Countable interface. * * @return integer */