Correction sur les modèles A et B
[zf2.biz/galerie.git] / module / Galerie / src / Galerie / Model / GalerieA.php
index 3b11fce..01686bb 100644 (file)
@@ -21,7 +21,7 @@ class GalerieA
         $this->updated = isset($data['updated']) ? $data['updated'] : null;
     }
 
-    public function toArray($data)
+    public function toArray()
     {
         return array(
             'id' => $this->id,
@@ -29,7 +29,7 @@ class GalerieA
             'name' => $this->name,
             'description' => $this->description,
             'created' => $this->created,
-           'updated' => $this->updated,
+            'updated' => $this->updated,
         );
     }