mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 21:44:51 +00:00
Setup pint & run code style fix
This commit is contained in:
@@ -2,20 +2,19 @@
|
||||
|
||||
namespace InvoiceShelf\Http\Controllers\V1\Admin\General;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use InvoiceShelf\Http\Controllers\Controller;
|
||||
use InvoiceShelf\Models\Currency;
|
||||
use InvoiceShelf\Models\Estimate;
|
||||
use InvoiceShelf\Models\Invoice;
|
||||
use InvoiceShelf\Models\Payment;
|
||||
use InvoiceShelf\Models\Tax;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class GetAllUsedCurrenciesController extends Controller
|
||||
{
|
||||
/**
|
||||
* Handle the incoming request.
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function __invoke(Request $request)
|
||||
@@ -31,7 +30,7 @@ class GetAllUsedCurrenciesController extends Controller
|
||||
$currencies = array_merge($invoices, $taxes, $estimates, $payments);
|
||||
|
||||
return response()->json([
|
||||
'currencies' => Currency::whereIn('id', $currencies)->get()
|
||||
'currencies' => Currency::whereIn('id', $currencies)->get(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user