original_string: public function addAuthor($author)
      {
          if (!is_array($author)) {
              $author = ['name' => $author];
          }
  
          $this->authors->add((object) $author);
      }
code: public function addAuthor($author)
      {
          if (!is_array($author)) {
              $author = ['name' => $author];
          }
  
          $this->authors->add((object) $author);
      }
code_tokens: public function addAuthor ( $ author ) { if ( ! is_array ( $ author ) ) { $ author = [ 'name' => $ author ] ; } $ this -> authors -> add ( ( object ) $ author ) ; }
docstring: Add an Author to the feed
  
  @param mixed $author It can be an array with name, email and uri,
  or just and string with the name.
docstring_tokens: Add an Author to the feed