Code Duplication    Length = 6-7 lines in 2 locations

ecrire/iterateur/data.php 2 locations

@@ 128-133 (lines=6) @@
125
	 *
126
	 * @return void
127
	 */
128
	public function rewind() {
129
		reset($this->tableau);
130
		$this->cle = key($this->tableau);
131
		$this->valeur = current($this->tableau);
132
		next($this->tableau);
133
	}
134
135
	/**
136
	 * Déclarer les critères exceptions
@@ 552-558 (lines=7) @@
549
	 *
550
	 * @return void
551
	 */
552
	public function next() {
553
		if ($this->valid()) {
554
			$this->cle = key($this->tableau);
555
			$this->valeur = current($this->tableau);
556
			next($this->tableau);
557
		}
558
	}
559
560
	/**
561
	 * Compter le nombre total de resultats