From 59f13b00b5e3ab7067a269381177f106a098a8ca Mon Sep 17 00:00:00 2001
From: Matthieu Guffroy <mattgu74@gmail.com>
Date: Thu, 12 Jun 2014 03:02:44 +0200
Subject: [PATCH] test

---
 class/objet.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/class/objet.php b/class/objet.php
index 733b800..d64590a 100644
--- a/class/objet.php
+++ b/class/objet.php
@@ -2,12 +2,12 @@
 
 class Objet
 {
-    public function fromDb(Array)
+    public function fromDb($arr)
     {
         $att = get_object_vars($this)
 
         for ($i=0; $i < count($att); $i++) { 
-            $this->$att[i] = Array[i];
+            $this->$att[i] = $arr[i];
         }
     }
 
-- 
GitLab