serbanghita / Mobile-Detect

Mobile_Detect is a lightweight PHP class for detecting mobile devices (including tablets). It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.
http://mobiledetect.net
MIT License
10.54k stars 2.68k forks source link

Fix the return type of version() #890

Closed stof closed 2 years ago

stof commented 2 years ago

This function can also return false when it finds no version.

stof commented 2 years ago

@serbanghita any chance to tag a new release ?

serbanghita commented 2 years ago

@stof I could try today, I need to add some regexes as well