original_string: public function remove($idSite, $idNote)
      {
          $this->checkIdSiteIsLoaded($idSite);
          $this->checkNoteExists($idSite, $idNote);
  
          unset($this->annotations[$idSite][$idNote]);
      }
code: public function remove($idSite, $idNote)
      {
          $this->checkIdSiteIsLoaded($idSite);
          $this->checkNoteExists($idSite, $idNote);
  
          unset($this->annotations[$idSite][$idNote]);
      }
code_tokens: public function remove ( $ idSite , $ idNote ) { $ this -> checkIdSiteIsLoaded ( $ idSite ) ; $ this -> checkNoteExists ( $ idSite , $ idNote ) ; unset ( $ this -> annotations [ $ idSite ] [ $ idNote ] ) ; }
docstring: Removes a note from a site's collection of annotations.
  
  Note: This method does not perist the change in the DB. The save method must
  be called for that.
  
  @param int $idSite The ID of the site whose annotation will be updated.
  @param int $idNote The ID of the note.
  @throws Exception if $idSite is not an ID that was supplied upon construction.
  @throws Exception if $idNote does not refer to valid note for the site.
docstring_tokens: Removes a note from a site s collection of annotations .