original_string: public function getAcceptedTypes()
      {
          return $this->getCachedProperty(
              'accept',
              function () {
                  $result = [];
                  /** @var \DOMNodeList $nodes */
                  // No REQUIRED — no exception.
                  $nodes = $this->query('app:accept');
                  foreach ($nodes as $value) {
                      $result[] = trim($value->textContent);
                  }
  
                  return $result;
              }
          );
      }
code: public function getAcceptedTypes()
      {
          return $this->getCachedProperty(
              'accept',
              function () {
                  $result = [];
                  /** @var \DOMNodeList $nodes */
                  // No REQUIRED — no exception.
                  $nodes = $this->query('app:accept');
                  foreach ($nodes as $value) {
                      $result[] = trim($value->textContent);
                  }
  
                  return $result;
              }
          );
      }
code_tokens: public function getAcceptedTypes ( ) { return $ this -> getCachedProperty ( 'accept' , function ( ) { $ result = [ ] ; /** @var \DOMNodeList $nodes */ // No REQUIRED — no exception. $ nodes = $ this -> query ( 'app:accept' ) ; foreach ( $ nodes as $ value ) { $ result [ ] = trim ( $ value -> textContent ) ; } return $ result ; } ) ; }
docstring: Return types of representations accepted by the Collection.
  
  @return string[]
  
  @since 1.0
docstring_tokens: Return types of representations accepted by the Collection .