Remove unused variable

In PHP 7.3, calling `compact` on variables that aren't declared will throw an exception:

```
[2018-12-25 17:17:23] production.ERROR: ErrorException: compact(): Undefined variable: emails in /app/Http/Controllers/Incomes/Customers.php:32
```
This commit is contained in:
Chris Brown 2018-12-25 12:35:08 -05:00 committed by GitHub
parent 1ec85c8374
commit ccef7d6355
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ class Customers extends Controller
{ {
$customers = Customer::collect(); $customers = Customer::collect();
return view('incomes.customers.index', compact('customers', 'emails')); return view('incomes.customers.index', compact('customers'));
} }
/** /**