We study how the void environment affects the formation and evolution of galaxies in the universe by comparing the ratio of dark matter halo mass to stellar mass of galaxies in voids with galaxies in denser regions. Using spectroscopic observations from the SDSS MaNGA DR15, we estimate the dark matter halo mass of 642 void galaxies and 938 galaxies in denser regions. We use the relative velocities of the H-alpha emission line across the galaxys surface to measure the rotation curve of each galaxy because the kinematics of the interstellar medium is smoother than the stellar kinematics. We find that neither the stellar-to-halo-mass relation nor the relationship between the gas-phase metallicity and the ratio of dark matter halo mass to stellar mass is affected by the void environment. We also observe no difference in the distribution of the ratio of dark matter halo mass to stellar mass between void galaxies and galaxies in denser regions, implying that the shape of the dark matter halo profile is independent of a galaxys environment.