original_string: protected function type_compare($type1, $type2) {
          if ($type1->priority < $type2->priority) {
              return -1;
          }
          if ($type1->priority > $type2->priority) {
              return 1;
          }
          return 0;
      }
code: protected function type_compare($type1, $type2) {
          if ($type1->priority < $type2->priority) {
              return -1;
          }
          if ($type1->priority > $type2->priority) {
              return 1;
          }
          return 0;
      }
code_tokens: protected function type_compare ( $ type1 , $ type2 ) { if ( $ type1 -> priority < $ type2 -> priority ) { return - 1 ; } if ( $ type1 -> priority > $ type2 -> priority ) { return 1 ; } return 0 ; }
docstring: Comparison function used when sorting types by priority
  @param object $type1 first type to compare
  @param object $type2 second type to compare
  @return integer -1 for $type1 < $type2; 1 for $type1 > $type2; 0 for equal
docstring_tokens: Comparison function used when sorting types by priority