returnType()
returnType(string|null $type = null) : string|$this
Sets the type of the value this object will generate.
If called without arguments, returns the current known type
Parameters
string|null | $type | The name of the type that is to be returned |