I have function like this :
private static function myfun(
string $param1,
:xhp $param2,
): :xhp {
return
//somethinf
}
I don't want to pass any thing as param2. How can I do that ? When I try doing like :
myfun("Hi",null),
It shows me error.