Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
BetterReflection
Reflection
ReflectionFunctionAbstract
removeReturnType
BetterReflection\Reflection\ReflectionFunctionAbstract::removeReturnType PHP Méthode
ReflectionFunctionAbstract Class Documentation
Afficher le fichier
Open project: roave/better-reflection
removeReturnType()
public
méthode
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