<?php

namespace App\Http\Controllers\PackingLists\Packages\items;

use App\Classes\Modules\PackageItems\ControllersLogic\UpdatePackageItemLogic;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;

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

}
