Consider using a different method name as you override a private method of the parent class.
Overwriting private methods is generally fine as long as you also use private
visibility. It might still be preferable for understandability to use a different
method name.
Loading history...
45
return $parameter->getType();
46
}
47
48
/**
49
* @param Parameter $parameter
50
* @return \watoki\reflect\Type
51
*/
52
protected function getOptionType(Parameter $parameter) {
Overwriting private methods is generally fine as long as you also use private visibility. It might still be preferable for understandability to use a different method name.