Completed
Push — master ( ea9d06...c3d46d )
by Glenn
03:59 queued 01:58
created
app/Http/Controllers/CustomersController.php 2 patches
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -2,9 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace App\Http\Controllers;
4 4
 
5
-use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 5
 use App\Customer as Customer;
9 6
 
10 7
 class CustomersController extends Controller
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 
18 18
     public function index()
19 19
     {
20
-        $data['customers'] = Customer::All();
20
+        $data[ 'customers' ] = Customer::All();
21 21
         return view('customers/index', $data);
22 22
     }
23 23
    
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     public function edit($id)
35 35
     {
36
-        $data['customer'] = Customer::where('id', $id)->get();
36
+        $data[ 'customer' ] = Customer::where('id', $id)->get();
37 37
         return view('customers/edit', $data);
38 38
     }
39 39
 }
Please login to merge, or discard this patch.