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.52k stars 2.67k forks source link

Fix: Method annotations are in the wrong place #913

Closed blankse closed 1 year ago

blankse commented 1 year ago

The method annotations must be above the class definition and not above the namespace.

blankse commented 1 year ago

@serbanghita Can you review it please?

serbanghita commented 1 year ago

I manually pushed the changes in the 3.74.x branch (moved from 7.x) Thank you!