The expression return $this->curveName could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.
The expression return $this->oid could return the type null which is incompatible with the type-hinted return string. Consider adding an additional type-check to rule them out.