Completed
Push — master ( f00659...1f4cdd )
by Julien
05:36
created
app/Console/Kernel.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
     protected function schedule(Schedule $schedule)
26 26
     {
27 27
         $schedule->command('inspire')
28
-                 ->hourly();
28
+                    ->hourly();
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
app/Http/Controllers/AdministratorsController.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App\Http\Models\Administrators;
6 6
 use App\Http\Requests\AdministratorsRequest;
7
-use Illuminate\Http\Request;
8 7
 use Illuminate\Support\Facades\Auth;
9 8
 use Illuminate\Support\Facades\Redirect;
10 9
 use Illuminate\Support\Facades\Session;
Please login to merge, or discard this 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/Administrators.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,12 +3,9 @@
 block discarded – undo
3 3
 namespace App\Http\Models;
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6
-
7
-
8 6
 use Illuminate\Auth\Authenticatable;
9 7
 use Illuminate\Foundation\Auth\Access\Authorizable;
10 8
 use Illuminate\Auth\Passwords\CanResetPassword;
11
-
12 9
 use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
13 10
 use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
14 11
 use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
Please login to merge, or discard this patch.
app/Http/Requests/AdministratorsRequest.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,11 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Requests;
4 4
 
5
-use App\Http\Models\Administrators;
6 5
 use Illuminate\Foundation\Http\FormRequest;
7
-use Illuminate\Support\Facades\Auth;
8
-
9
-use Illuminate\Support\Facades\Request;
10 6
 
11 7
 /**
12 8
  * Class AdministratorsRequest
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.