Skip to content

Commit 627d8e9

Browse files
committed
Fix space indentation
1 parent 6d68bda commit 627d8e9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

ext/zend_test/test.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -750,23 +750,23 @@ static zend_object *zend_test_class_new(zend_class_entry *class_type)
750750
static zend_function *zend_test_class_method_get(zend_object **object, zend_string *name, const zval *key)
751751
{
752752
if (zend_string_equals_literal_ci(name, "test")) {
753-
zend_internal_function *fptr;
753+
zend_internal_function *fptr;
754754

755-
if (EXPECTED(EG(trampoline).common.function_name == NULL)) {
756-
fptr = (zend_internal_function *) &EG(trampoline);
757-
} else {
758-
fptr = emalloc(sizeof(zend_internal_function));
755+
if (EXPECTED(EG(trampoline).common.function_name == NULL)) {
756+
fptr = (zend_internal_function *) &EG(trampoline);
757+
} else {
758+
fptr = emalloc(sizeof(zend_internal_function));
759759
}
760-
memset(fptr, 0, sizeof(zend_internal_function));
761-
fptr->type = ZEND_INTERNAL_FUNCTION;
762-
fptr->num_args = 1;
763-
fptr->scope = (*object)->ce;
764-
fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER;
765-
fptr->function_name = zend_string_copy(name);
760+
memset(fptr, 0, sizeof(zend_internal_function));
761+
fptr->type = ZEND_INTERNAL_FUNCTION;
762+
fptr->num_args = 1;
763+
fptr->scope = (*object)->ce;
764+
fptr->fn_flags = ZEND_ACC_CALL_VIA_HANDLER;
765+
fptr->function_name = zend_string_copy(name);
766766
fptr->handler = ZEND_FN(zend_test_func);
767767
fptr->doc_comment = NULL;
768768

769-
return (zend_function*)fptr;
769+
return (zend_function*)fptr;
770770
}
771771
return zend_std_get_method(object, name, key);
772772
}

0 commit comments

Comments
 (0)