original_string: private function getNotes()
      {
          $xpath = $this->reader->getXpath();
  
          $nodes = $xpath->query($this->reader->getRoot().'/cbc:Note');
          $notes = [];
          if ($nodes->length === 0) {
              return $notes;
          }
  
          /** @var \DOMElement $node */
          foreach ($nodes as $node) {
              $notes[] = $node->nodeValue;
          }
  
          return $notes;
      }
code: private function getNotes()
      {
          $xpath = $this->reader->getXpath();
  
          $nodes = $xpath->query($this->reader->getRoot().'/cbc:Note');
          $notes = [];
          if ($nodes->length === 0) {
              return $notes;
          }
  
          /** @var \DOMElement $node */
          foreach ($nodes as $node) {
              $notes[] = $node->nodeValue;
          }
  
          return $notes;
      }
code_tokens: private function getNotes ( ) { $ xpath = $ this -> reader -> getXpath ( ) ; $ nodes = $ xpath -> query ( $ this -> reader -> getRoot ( ) . '/cbc:Note' ) ; $ notes = [ ] ; if ( $ nodes -> length === 0 ) { return $ notes ; } /** @var \DOMElement $node */ foreach ( $ nodes as $ node ) { $ notes [ ] = $ node -> nodeValue ; } return $ notes ; }
docstring: Get Notes if exist.
  
  @return string[]
docstring_tokens: Get Notes if exist .