Skip to content

Commit 09a8b87

Browse files
committed
clang-format changes
1 parent 36d3e70 commit 09a8b87

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

php_phongo.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2532,7 +2532,7 @@ static bool php_phongo_extract_handshake_data(zval* driver, const char* key, cha
25322532
zval* zvalue;
25332533

25342534
if (!php_array_exists(driver, key)) {
2535-
*value = NULL;
2535+
*value = NULL;
25362536
*value_len = 0;
25372537

25382538
return true;
@@ -2553,7 +2553,7 @@ static bool php_phongo_extract_handshake_data(zval* driver, const char* key, cha
25532553

25542554
static char* php_phongo_concat_handshake_data(const char* default_value, const char* custom_value, size_t custom_value_len)
25552555
{
2556-
char* ret;
2556+
char* ret;
25572557
/* Length of the returned value needs to include the trailing null byte */
25582558
size_t ret_len = strlen(default_value) + 1;
25592559

@@ -2582,7 +2582,7 @@ static void php_phongo_handshake_data_append(const char* name, size_t name_len,
25822582
char* full_platform;
25832583

25842584
php_version_string_len = strlen(PHP_VERSION);
2585-
php_version_string = ecalloc(sizeof(char*), 4 + php_version_string_len);
2585+
php_version_string = ecalloc(sizeof(char*), 4 + php_version_string_len);
25862586
snprintf(php_version_string, 4 + php_version_string_len, "PHP %s", PHP_VERSION);
25872587

25882588
driver_name = php_phongo_concat_handshake_data("ext-mongodb:PHP", name, name_len);
@@ -2613,7 +2613,7 @@ static void php_phongo_set_handshake_data(zval* driverOptions)
26132613
size_t platform_len = 0;
26142614

26152615
if (driverOptions && php_array_existsc(driverOptions, "driver")) {
2616-
zval* driver = php_array_fetchc(driverOptions, "driver");
2616+
zval* driver = php_array_fetchc(driverOptions, "driver");
26172617

26182618
if (Z_TYPE_P(driver) != IS_ARRAY) {
26192619
phongo_throw_exception(PHONGO_ERROR_INVALID_ARGUMENT TSRMLS_CC, "Expected \"driver\" driver option to be an array, %s given", PHONGO_ZVAL_CLASS_OR_TYPE_NAME_P(driver));
@@ -3519,7 +3519,7 @@ static zend_class_entry* php_phongo_fetch_internal_class(const char* class_name,
35193519
static HashTable* php_phongo_std_get_gc(zval* object, zval** table, int* n) /* {{{ */
35203520
{
35213521
*table = NULL;
3522-
*n = 0;
3522+
*n = 0;
35233523
return zend_std_get_properties(object);
35243524
} /* }}} */
35253525

0 commit comments

Comments
 (0)