app/Processors/Inventory/InventoryProcessor.php
public function update(InventoryRequest $request, $id)
    {
        $item = $this->inventory->findOrFail($id);

        return $this->dispatch(new Update($request, $item));
    }
public function update(InventoryRequest $request, $id)
    {
        $item = $this->inventory->findOrFail($id);

        return $this->dispatch(new Update($request, $item));
    }
Updates the specified inventory item.

@param InventoryRequest $request
@param int|string       $id

@return bool