Completed
Push — master ( ca1d14...32632b )
by Julien
03:18
created
app/Http/Controllers/Auth/AuthController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      * Create a new user instance after a valid registration.
80 80
      *
81 81
      * @param  array  $data
82
-     * @return User
82
+     * @return Administrators
83 83
      */
84 84
     protected function create(array $data)
85 85
     {
Please login to merge, or discard this patch.
app/Http/Controllers/CommentsController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
     /**
71 71
      * Pour la suppression, il n'y a pas de vue dédiée.
72 72
      * On redirige donc vers l'index.
73
-     * @return \Illuminate\View\View
73
+     * @return \Illuminate\Http\RedirectResponse
74 74
      */
75 75
     public function delete($id)
76 76
     {
Please login to merge, or discard this patch.
app/Http/Controllers/MoviesController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -148,7 +148,6 @@
 block discarded – undo
148 148
 
149 149
     /**
150 150
      * Fonction de like des films, enregistré en session
151
-     * @param Request $request
152 151
      */
153 152
     public function like($id, $action)
154 153
     {
Please login to merge, or discard this patch.
app/Http/Controllers/AdministratorsController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
 
91 91
         $administrator->save();
92 92
 
93
-       // Auth::login($administrator); => Autologin
93
+        // Auth::login($administrator); => Autologin
94 94
         Session::flash('success', "L'administrateur {$administrator->email} a bien été crée");
95 95
         return Redirect::route('administrators_index');
96 96
 
Please login to merge, or discard this patch.
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.
app/Http/Controllers/MainController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
     public function dashboard(){
96 96
 
97 97
 
98
-       // $redirectUrl = $response->links[1]->href;
98
+        // $redirectUrl = $response->links[1]->href;
99 99
 
100 100
         $nbacteurs = Actors::count();
101 101
         $nbcommentaires = Comments::count();
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,6 @@
 block discarded – undo
26 26
     protected function schedule(Schedule $schedule)
27 27
     {
28 28
         $schedule->command('movies:newsletter')
29
-                 ->daily();
29
+                    ->daily();
30 30
     }
31 31
 }
Please login to merge, or discard this patch.