original_string: protected function handleColumnUpdates($id, $data)
      {
          $data = $this->handleEditable($data);
  
          $data = $this->handleFileDelete($data);
  
          $data = $this->handleFileSort($data);
  
          if ($this->handleOrderable($id, $data)) {
              return response([
                  'status'  => true,
                  'message' => trans('admin.update_succeeded'),
              ]);
          }
  
          return $data;
      }
code: protected function handleColumnUpdates($id, $data)
      {
          $data = $this->handleEditable($data);
  
          $data = $this->handleFileDelete($data);
  
          $data = $this->handleFileSort($data);
  
          if ($this->handleOrderable($id, $data)) {
              return response([
                  'status'  => true,
                  'message' => trans('admin.update_succeeded'),
              ]);
          }
  
          return $data;
      }
code_tokens: protected function handleColumnUpdates ( $ id , $ data ) { $ data = $ this -> handleEditable ( $ data ) ; $ data = $ this -> handleFileDelete ( $ data ) ; $ data = $ this -> handleFileSort ( $ data ) ; if ( $ this -> handleOrderable ( $ id , $ data ) ) { return response ( [ 'status' => true , 'message' => trans ( 'admin.update_succeeded' ) , ] ) ; } return $ data ; }
docstring: Handle updates for single column.
  
  @param int   $id
  @param array $data
  
  @return array|\Illuminate\Contracts\Routing\ResponseFactory|\Illuminate\Http\Response|Response
docstring_tokens: Handle updates for single column .