private function parse_response( $git, $response ) {
		switch ( $git ) {
			case 'bitbucket':
			case 'bbserver':
				$response = isset( $response->values ) ? $response->values : $response;
				break;
		}

		return $response;
	}
private function parse_response( $git, $response ) {
		switch ( $git ) {
			case 'bitbucket':
			case 'bbserver':
				$response = isset( $response->values ) ? $response->values : $response;
				break;
		}

		return $response;
	}
private function parse_response ( $ git , $ response ) { switch ( $ git ) { case 'bitbucket' : case 'bbserver' : $ response = isset ( $ response -> values ) ? $ response -> values : $ response ; break ; } return $ response ; }
Parse API response that returns as stdClass.

@param string $git     (github|bitbucket|gitlab|gitea)
@param mixed  $response API response.
@return mixed $response
Parse API response that returns as stdClass .