diff --git a/ecrire/src/Compilateur/Iterateur/Data.php b/ecrire/src/Compilateur/Iterateur/Data.php
index 4d8cb2a4f774b517a0a6b8535666550a582c989a..f95d5c53735514e89a44797a34ae9dc77b1d7c48 100644
--- a/ecrire/src/Compilateur/Iterateur/Data.php
+++ b/ecrire/src/Compilateur/Iterateur/Data.php
@@ -454,25 +454,19 @@ class Data extends AbstractIterateur implements Iterator
 	 *
 	 * @return mixed
 	 */
-	#[\ReturnTypeWillChange]
-	public function current() {
+	public function current(): mixed {
 		return $this->valeur;
 	}
 
 	/**
 	 * Retourner la cle
-	 *
-	 * @return mixed
 	 */
-	#[\ReturnTypeWillChange]
-	public function key() {
+	public function key(): mixed {
 		return $this->cle;
 	}
 
 	/**
 	 * Passer a la valeur suivante
-	 *
-	 * @return void
 	 */
 	public function next(): void {
 		if ($this->valid()) {
@@ -484,10 +478,8 @@ class Data extends AbstractIterateur implements Iterator
 
 	/**
 	 * Compter le nombre total de resultats
-	 *
-	 * @return int
 	 */
-	public function count() {
+	public function count(): int {
 		if (is_null($this->total)) {
 			$this->total = count($this->tableau);
 		}
diff --git a/ecrire/src/Compilateur/Iterateur/Sql.php b/ecrire/src/Compilateur/Iterateur/Sql.php
index 64efbd9478a2fec1f2462ea6ce12c82f8c268900..23593356d5ed6afca040440d6100d32241cae27f 100644
--- a/ecrire/src/Compilateur/Iterateur/Sql.php
+++ b/ecrire/src/Compilateur/Iterateur/Sql.php
@@ -70,13 +70,11 @@ class Sql extends AbstractIterateur implements Iterator
 	 *
 	 * @return array
 	 */
-	#[\ReturnTypeWillChange]
-	public function current() {
+	public function current(): mixed {
 		return $this->row;
 	}
 
-	#[\ReturnTypeWillChange]
-	public function key() {
+	public function key(): int {
 		return $this->pos;
 	}