app/Processors/WorkOrder/WorkOrderProcessor.php
public function update(WorkOrderRequest $request, $id)
    {
        $workOrder = $this->workOrder->findOrFail($id);

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

        return $this->dispatch(new Update($request, $workOrder));
    }
Updates the specified work order.

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

@return bool