utils/contrib-list.php
private static function parse_contributors_from_pull_requests( $pull_requests ) {
		$contributors = array();
		foreach ( $pull_requests as $pull_request ) {
			if ( ! empty( $pull_request->user ) ) {
				$contributors[ $pull_request->user->html_url ] = $pull_request->user->login;
			}
		}
		return $contributors;
	}
private static function parse_contributors_from_pull_requests( $pull_requests ) {
		$contributors = array();
		foreach ( $pull_requests as $pull_request ) {
			if ( ! empty( $pull_request->user ) ) {
				$contributors[ $pull_request->user->html_url ] = $pull_request->user->login;
			}
		}
		return $contributors;
	}
private static function parse_contributors_from_pull_requests ( $ pull_requests ) { $ contributors = array ( ) ; foreach ( $ pull_requests as $ pull_request ) { if ( ! empty ( $ pull_request -> user ) ) { $ contributors [ $ pull_request -> user -> html_url ] = $ pull_request -> user -> login ; } } return $ contributors ; }
Parse the contributors from pull request objects

@param array $pull_requests
@return array
Parse the contributors from pull request objects