Skip to content

Commit ed80c92

Browse files
committed
remove reflection stuff because messy
1 parent 22d6884 commit ed80c92

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

ext/reflection/php_reflection.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,21 +1851,6 @@ ZEND_METHOD(reflection_function, getEndLine)
18511851
}
18521852
/* }}} */
18531853

1854-
/* {{{ proto public bool ReflectionFunction::hasReturnHint()
1855-
Checks for the presence of a return hint */
1856-
ZEND_METHOD(reflection_function, hasReturnHint)
1857-
{
1858-
reflection_object *intern;
1859-
zend_function *fptr;
1860-
1861-
if (zend_parse_parameters_none() == FAILURE) {
1862-
return;
1863-
}
1864-
GET_REFLECTION_OBJECT_PTR(fptr);
1865-
RETURN_BOOL(fptr->common.return_hint.used);
1866-
}
1867-
/* }}} */
1868-
18691854
/* {{{ proto public string ReflectionFunction::getDocComment()
18701855
Returns the doc comment for this function */
18711856
ZEND_METHOD(reflection_function, getDocComment)
@@ -5750,7 +5735,6 @@ static const zend_function_entry reflection_function_abstract_functions[] = {
57505735
ZEND_ME(reflection_function, isVariadic, arginfo_reflection__void, 0)
57515736
ZEND_ME(reflection_function, getClosureThis, arginfo_reflection__void, 0)
57525737
ZEND_ME(reflection_function, getClosureScopeClass, arginfo_reflection__void, 0)
5753-
ZEND_ME(reflection_function, hasReturnHint, arginfo_reflection__void, 0)
57545738
ZEND_ME(reflection_function, getDocComment, arginfo_reflection__void, 0)
57555739
ZEND_ME(reflection_function, getEndLine, arginfo_reflection__void, 0)
57565740
ZEND_ME(reflection_function, getExtension, arginfo_reflection__void, 0)

ext/reflection/tests/ReflectionFunction_hasReturnHint.phpt

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)