original_string: public function updateComment( $comment, $user=null, $time = null , $notified = null )
      {
          if ( $time === null )
          {
              $time = time();
          }
  
          $beforeUpdating = $this->beforeUpdatingComment( $comment, $notified, $time );
          if ( $beforeUpdating !== true )
          {
              return $beforeUpdating;
          }
          $comment->store();
  
          $afterUpdating = $this->afterUpdatingComment( $comment, $notified, $time );
          if ( $afterUpdating !== true )
          {
              return $afterUpdating;
          }
          return true;
      }
code: public function updateComment( $comment, $user=null, $time = null , $notified = null )
      {
          if ( $time === null )
          {
              $time = time();
          }
  
          $beforeUpdating = $this->beforeUpdatingComment( $comment, $notified, $time );
          if ( $beforeUpdating !== true )
          {
              return $beforeUpdating;
          }
          $comment->store();
  
          $afterUpdating = $this->afterUpdatingComment( $comment, $notified, $time );
          if ( $afterUpdating !== true )
          {
              return $afterUpdating;
          }
          return true;
      }
code_tokens: public function updateComment ( $ comment , $ user = null , $ time = null , $ notified = null ) { if ( $ time === null ) { $ time = time ( ) ; } $ beforeUpdating = $ this -> beforeUpdatingComment ( $ comment , $ notified , $ time ) ; if ( $ beforeUpdating !== true ) { return $ beforeUpdating ; } $ comment -> store ( ) ; $ afterUpdating = $ this -> afterUpdatingComment ( $ comment , $ notified , $ time ) ; if ( $ afterUpdating !== true ) { return $ afterUpdating ; } return true ; }
docstring: Update the comment
  @param $comment comment to be updated
  @param $notified change the notification
  @param $time
  @param $user user to change
  @return
docstring_tokens: Update the comment