public function getParameterDescription(ReflectionParameter $param): ?string
    {
        $name = preg_quote($param->getName());

        if (preg_match('~@param\h+\H+\h+\$' . $name . '\h+(.*)~', $this->comment, $m)) {
            return ucfirst(trim($m[1]));
        }

        return null;
    }
public function getParameterDescription(ReflectionParameter $param): ?string
    {
        $name = preg_quote($param->getName());

        if (preg_match('~@param\h+\H+\h+\$' . $name . '\h+(.*)~', $this->comment, $m)) {
            return ucfirst(trim($m[1]));
        }

        return null;
    }
public function getParameterDescription ( ReflectionParameter $ param ) : ? string { $ name = preg_quote ( $ param -> getName ( ) ) ; if ( preg_match ( '~@param\h+\H+\h+\$' . $ name . '\h+(.*)~' , $ this -> comment , $ m ) ) { return ucfirst ( trim ( $ m [ 1 ] ) ) ; } return null ; }
Get the parameter description

@param ReflectionParameter $param

@return null|string
Get the parameter description