@@ -427,7 +427,7 @@ zend_bool phongo_writeconcernerror_init(zval* return_value, bson_t* bson TSRMLS_
427427
428428 object_init_ex (return_value , php_phongo_writeconcernerror_ce );
429429
430- intern = Z_WRITECONCERNERROR_OBJ_P (return_value );
430+ intern = Z_WRITECONCERNERROR_OBJ_P (return_value );
431431 intern -> code = 0 ;
432432
433433 if (bson_iter_init_find (& iter , bson , "code" ) && BSON_ITER_HOLDS_INT32 (& iter )) {
@@ -465,7 +465,7 @@ zend_bool phongo_writeerror_init(zval* return_value, bson_t* bson TSRMLS_DC) /*
465465
466466 object_init_ex (return_value , php_phongo_writeerror_ce );
467467
468- intern = Z_WRITEERROR_OBJ_P (return_value );
468+ intern = Z_WRITEERROR_OBJ_P (return_value );
469469 intern -> code = 0 ;
470470 intern -> index = 0 ;
471471
@@ -786,7 +786,7 @@ bool phongo_execute_bulk_write(mongoc_client_t* client, const char* namespace, p
786786 }
787787
788788 if (EG (exception )) {
789- char * message ;
789+ char * message ;
790790
791791 (void ) spprintf (& message , 0 , "Bulk write failed due to previous %s: %s" , PHONGO_ZVAL_EXCEPTION_NAME (EG (exception )), error .message );
792792 zend_throw_exception (php_phongo_bulkwriteexception_ce , message , 0 TSRMLS_CC );
@@ -1464,7 +1464,7 @@ static bool php_phongo_uri_finalize_auth(mongoc_uri_t* uri TSRMLS_DC) /* {{{ */
14641464 if (mongoc_uri_get_auth_mechanism (uri )) {
14651465 if (!strcasecmp (mongoc_uri_get_auth_mechanism (uri ), "GSSAPI" ) ||
14661466 !strcasecmp (mongoc_uri_get_auth_mechanism (uri ), "MONGODB-X509" )) {
1467- const char * source = mongoc_uri_get_auth_source (uri );
1467+ const char * source = mongoc_uri_get_auth_source (uri );
14681468
14691469 if (source ) {
14701470 if (strcasecmp (source , "$external" )) {
@@ -1499,8 +1499,8 @@ static bool php_phongo_uri_finalize_auth(mongoc_uri_t* uri TSRMLS_DC) /* {{{ */
14991499
15001500static bool php_phongo_uri_finalize_tls (mongoc_uri_t * uri TSRMLS_DC ) /* {{{ */
15011501{
1502- const bson_t * options ;
1503- bson_iter_t iter ;
1502+ const bson_t * options ;
1503+ bson_iter_t iter ;
15041504
15051505 if (!(options = mongoc_uri_get_options (uri ))) {
15061506 return true;
@@ -2075,7 +2075,7 @@ static bool php_phongo_apply_wc_options_to_uri(mongoc_uri_t* uri, bson_t* option
20752075
20762076static void php_phongo_mongoc_ssl_opts_from_uri (mongoc_ssl_opt_t * ssl_opt , mongoc_uri_t * uri , bool * any_ssl_option_set )
20772077{
2078- bool insecure = mongoc_uri_get_option_as_bool (uri , MONGOC_URI_TLSINSECURE , false);
2078+ bool insecure = mongoc_uri_get_option_as_bool (uri , MONGOC_URI_TLSINSECURE , false);
20792079 const char * pem_file = mongoc_uri_get_option_as_utf8 (uri , MONGOC_URI_TLSCERTIFICATEKEYFILE , NULL );
20802080 const char * pem_pwd = mongoc_uri_get_option_as_utf8 (uri , MONGOC_URI_TLSCERTIFICATEKEYFILEPASSWORD , NULL );
20812081 const char * ca_file = mongoc_uri_get_option_as_utf8 (uri , MONGOC_URI_TLSCAFILE , NULL );
@@ -2210,7 +2210,7 @@ static inline bool php_phongo_apply_driver_option_to_uri(mongoc_uri_t* uri, zval
22102210 char * value ;
22112211
22122212 value = php_phongo_fetch_ssl_opt_string (zoptions , driverOptionKey );
2213- ret = mongoc_uri_set_option_as_utf8 (uri , optionKey , value );
2213+ ret = mongoc_uri_set_option_as_utf8 (uri , optionKey , value );
22142214 efree (value );
22152215
22162216 return ret ;
@@ -3039,7 +3039,7 @@ PHP_MINIT_FUNCTION(mongodb)
30393039 php_phongo_timestamp_init_ce (INIT_FUNC_ARGS_PASSTHRU );
30403040 php_phongo_undefined_init_ce (INIT_FUNC_ARGS_PASSTHRU );
30413041 php_phongo_utcdatetime_init_ce (INIT_FUNC_ARGS_PASSTHRU );
3042-
3042+
30433043 php_phongo_cursor_interface_init_ce (INIT_FUNC_ARGS_PASSTHRU );
30443044
30453045 php_phongo_bulkwrite_init_ce (INIT_FUNC_ARGS_PASSTHRU );
0 commit comments