original_string: protected function getAuthor()
      {
          if (
              !isset($this->getComposerData()->authors) ||
              count($this->getComposerData()->authors) != 1
          ) {
              return $this->requestAuthor();
          }
  
          return [
              'authorName' => $this->getComposerData()->authors[0]->name,
              'authorEmail' => $this->getComposerData()->authors[0]->email
          ];
      }
code: protected function getAuthor()
      {
          if (
              !isset($this->getComposerData()->authors) ||
              count($this->getComposerData()->authors) != 1
          ) {
              return $this->requestAuthor();
          }
  
          return [
              'authorName' => $this->getComposerData()->authors[0]->name,
              'authorEmail' => $this->getComposerData()->authors[0]->email
          ];
      }
code_tokens: protected function getAuthor ( ) { if ( ! isset ( $ this -> getComposerData ( ) -> authors ) || count ( $ this -> getComposerData ( ) -> authors ) != 1 ) { return $ this -> requestAuthor ( ) ; } return [ 'authorName' => $ this -> getComposerData ( ) -> authors [ 0 ] -> name , 'authorEmail' => $ this -> getComposerData ( ) -> authors [ 0 ] -> email ] ; }
docstring: Gets the author name and e-mail
  
  @return array
docstring_tokens: Gets the author name and e - mail