Skip to content

Commit 2479ff2

Browse files
author
Your Name
committed
Replaced spaces with tabs
1 parent bce50e6 commit 2479ff2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ext/standard/type.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ PHP_FUNCTION(gettype)
2424
zval *arg;
2525
zend_string *type;
2626
zend_bool resolve_object_names = 0;
27-
zend_object *obj;
2827

2928
ZEND_PARSE_PARAMETERS_START(1, 2)
3029
Z_PARAM_ZVAL(arg)
@@ -33,8 +32,7 @@ PHP_FUNCTION(gettype)
3332
ZEND_PARSE_PARAMETERS_END();
3433

3534
if (resolve_object_names && Z_TYPE_P(arg) == IS_OBJECT) {
36-
obj = Z_OBJ_P(arg);
37-
RETURN_INTERNED_STR(obj->ce->name);
35+
RETURN_INTERNED_STR(Z_OBJ_P(arg)->ce->name);
3836
}
3937

4038
type = zend_zval_get_type(arg);

0 commit comments

Comments
 (0)