Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
BetterReflection
Reflection
ReflectionFunctionAbstract
removeReturnType
BetterReflection\Reflection\ReflectionFunctionAbstract::removeReturnType PHP Method
ReflectionFunctionAbstract Class Documentation
Datei anzeigen
Open project: roave/better-reflection
removeReturnType()
public
method
Remove the return type declaration completely.
public
removeReturnType
( )
public function removeReturnType() { $this->node->returnType = null; }
ReflectionFunctionAbstract
__clone
__construct
addParameter
export
getAst
getBodyAst
getBodyCode
getDocBlockReturnTypes
getDocComment
getEndLine
getFileName
getLocatedSource
getName
getNamespaceName
getNode
getNumberOfParameters
getNumberOfRequiredParameters
getParameter
getParameters
getReturnStatementsAst
getReturnType
getShortName
getStartLine
hasReturnType
inNamespace
isClosure
isDeprecated
isGenerator
isInternal
isUserDefined
isVariadic
nodeIsOrContainsYield
populateFunctionAbstract
removeParameter
removeReturnType
returnsReference
setBodyFromAst
setBodyFromClosure
setBodyFromString
setNodeOptionalFlag
setReturnType