original_string: public function updatePlan($planCode, $updateData)
      {
          return $this->getPlanModel()->getPlan($planCode)
              ->setUpdateData($updateData)
              ->save();
      }
code: public function updatePlan($planCode, $updateData)
      {
          return $this->getPlanModel()->getPlan($planCode)
              ->setUpdateData($updateData)
              ->save();
      }
code_tokens: public function updatePlan ( $ planCode , $ updateData ) { return $ this -> getPlanModel ( ) -> getPlan ( $ planCode ) -> setUpdateData ( $ updateData ) -> save ( ) ; }
docstring: Update plan.
  
  @param $planCode
  @param $updateData
  
  @throws \Exception|mixed
  @throws null
  
  @return mixed
docstring_tokens: Update plan .