original_string: private static function create_endpoints_for_google($issuer) {
  
          $record = (object) [
              'issuerid' => $issuer->get('id'),
              'name' => 'discovery_endpoint',
              'url' => 'https://accounts.google.com/.well-known/openid-configuration'
          ];
          $endpoint = new endpoint(0, $record);
          $endpoint->create();
          return $issuer;
      }
code: private static function create_endpoints_for_google($issuer) {
  
          $record = (object) [
              'issuerid' => $issuer->get('id'),
              'name' => 'discovery_endpoint',
              'url' => 'https://accounts.google.com/.well-known/openid-configuration'
          ];
          $endpoint = new endpoint(0, $record);
          $endpoint->create();
          return $issuer;
      }
code_tokens: private static function create_endpoints_for_google ( $ issuer ) { $ record = ( object ) [ 'issuerid' => $ issuer -> get ( 'id' ) , 'name' => 'discovery_endpoint' , 'url' => 'https://accounts.google.com/.well-known/openid-configuration' ] ; $ endpoint = new endpoint ( 0 , $ record ) ; $ endpoint -> create ( ) ; return $ issuer ; }
docstring: Create endpoints for google issuers.
  @param issuer $issuer issuer the endpoints should be created for.
  @return mixed
  @throws \coding_exception
  @throws \core\invalid_persistent_exception
docstring_tokens: Create endpoints for google issuers .