JayBizzle / Crawler-Detect

🕷 CrawlerDetect is a PHP class for detecting bots/crawlers/spiders via the user agent
https://crawlerdetect.io
MIT License
1.96k stars 255 forks source link

Reduced imported FQCN names to imported leaf names #400

Closed Bilge closed 4 years ago

Bilge commented 4 years ago

It is not necessary to use the fully qualified class name (FQCN) in docblocks when the name is imported at the top of the file. They can be simplified to just the leaf name as they can in code.

MaxGiting commented 4 years ago

Although not explicitly mentioned anywhere, the style chosen in for DocBlocks in this repo is to list the fully qualified namespace. Thank you for the PR and time you've spent on this project.

Bilge commented 4 years ago

I guess you could call that a style. Just like importing names and then using the FQCN anyway could be considered a style.