willdurand / Negotiation

Content Negotiation tools for PHP.
https://williamdurand.fr/Negotiation/
MIT License
1.41k stars 62 forks source link

Fix php doc #62

Closed GuilhemN closed 9 years ago

GuilhemN commented 9 years ago

https://github.com/willdurand/Negotiation/blob/master/src/Negotiation/AbstractNegotiator.php#L14

You should probably update this @return value to @return AcceptHeader|null best matching type. This is clearer for a developer using your package.