<?php

namespace App\Http\Controllers\Companies;

use App\Classes\Modules\Companies\ControllersLogic\UpdateCompanyDetailsLogic;
use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

class UpdateCompanyDetailsController extends Controller
{
    /**
     * @param Request $request
     * @param UpdateCompanyDetailsLogic $logic
     * @return JsonResponse
     */
    public function update(Request $request, UpdateCompanyDetailsLogic $logic) : JsonResponse
    {
        return $logic->execute($request);
    }
}
