original_string: protected function get_author_ids($newallocations) {
          $authors = array();
          foreach ($newallocations as $newallocation) {
              $authorid = reset($newallocation);
              if (!in_array($authorid, $authors)) {
                  $authors[] = $authorid;
              }
          }
          return $authors;
      }
code: protected function get_author_ids($newallocations) {
          $authors = array();
          foreach ($newallocations as $newallocation) {
              $authorid = reset($newallocation);
              if (!in_array($authorid, $authors)) {
                  $authors[] = $authorid;
              }
          }
          return $authors;
      }
code_tokens: protected function get_author_ids ( $ newallocations ) { $ authors = array ( ) ; foreach ( $ newallocations as $ newallocation ) { $ authorid = reset ( $ newallocation ) ; if ( ! in_array ( $ authorid , $ authors ) ) { $ authors [ ] = $ authorid ; } } return $ authors ; }
docstring: Extracts unique list of authors' IDs from the structure of new allocations
  
  @param array $newallocations of pairs 'reviewerid' => 'authorid'
  @return array of authorids
docstring_tokens: Extracts unique list of authors IDs from the structure of new allocations