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
@@ 559-565 (lines=7) @@
556
	 *
557
	 * @return void
558
	 */
559
	public function next() {
560
		if ($this->valid()) {
561
			$this->cle = key($this->tableau);
562
			$this->valeur = current($this->tableau);
563
			next($this->tableau);
564
		}
565
	}
566
567
	/**
568
	 * Compter le nombre total de resultats