TypeError thrown

mysqli::real_connect(): Argument #5 ($port) must be of type ?int, string given