Completed
Push — master ( f00659...1f4cdd )
by Julien
05:36
created
app/Http/Models/Actors.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 
37 37
         //1ere methode: Utilisation de MYSQL
38 38
         // marche mais n'est peu souple
39
-         /*
39
+            /*
40 40
           * $results = DB::select('
41 41
             SELECT ROUND(AVG(TIMESTAMPDIFF(YEAR,dob, NOW()))) as age
42 42
             FROM actors
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
         // MAITRISE
61 61
 
62
-          $results = DB::table('actors')
62
+            $results = DB::table('actors')
63 63
             ->select(DB::raw('ROUND(AVG(TIMESTAMPDIFF(YEAR,dob, NOW()))) as age'))
64 64
             ->first();
65 65
 
Please login to merge, or discard this patch.