app/Processors/WorkOrder/WorkOrderPriorityProcessor.php
public function update(PriorityRequest $request, $id)
    {
        $priority = $this->priority->findOrFail($id);

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

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

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

@return bool