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:
		@@ -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'));
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user