summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
committerPeter Kokot <peterkokot@gmail.com>2018-10-13 14:14:50 +0200
commit902d39a3a79c6efe93c8879575fdd5a759cf03de (patch)
treee6ec0af8ac4333de34f581c2c7b5a2eb93e635a1 /ext/reflection/php_reflection.c
parent581f0141b6dd8d20e71612f90b01507ed0783db8 (diff)
downloadphp-git-902d39a3a79c6efe93c8879575fdd5a759cf03de.tar.gz
Trim trailing whitespace in source code files
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 00ce0a8272..f1096fbe81 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -1577,7 +1577,7 @@ ZEND_METHOD(reflection_function, __construct)
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS(), "O", &closure, zend_ce_closure) == SUCCESS) {
fptr = (zend_function*)zend_get_closure_method_def(closure);
Z_ADDREF_P(closure);
- } else {
+ } else {
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s", &name_str, &name_len) == FAILURE) {
return;
}
@@ -2948,7 +2948,7 @@ ZEND_METHOD(reflection_type, __toString)
return;
}
GET_REFLECTION_OBJECT_PTR(param);
-
+
RETURN_STR(reflection_type_name(param));
}
/* }}} */
@@ -2959,12 +2959,12 @@ ZEND_METHOD(reflection_named_type, getName)
{
reflection_object *intern;
type_reference *param;
-
+
if (zend_parse_parameters_none() == FAILURE) {
return;
}
GET_REFLECTION_OBJECT_PTR(param);
-
+
RETURN_STR(reflection_type_name(param));
}
/* }}} */
@@ -6764,7 +6764,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
INIT_CLASS_ENTRY(_reflection_entry, "ReflectionType", reflection_type_functions);
_reflection_entry.create_object = reflection_objects_new;
reflection_type_ptr = zend_register_internal_class(&_reflection_entry);
-
+
INIT_CLASS_ENTRY(_reflection_entry, "ReflectionNamedType", reflection_named_type_functions);
_reflection_entry.create_object = reflection_objects_new;
reflection_named_type_ptr = zend_register_internal_class_ex(&_reflection_entry, reflection_type_ptr);