contributte / apitte

:wrench: An opinionated and enjoyable API framework based on Nette Framework. Supporting content negotiation, debugging, middlewares, attributes, annotations and loving openapi/swagger.
https://contributte.org/packages/contributte/apitte/
MIT License
61 stars 36 forks source link

Fix Endpoint hasTag behavior when no value given #64

Closed grossmannmartin closed 6 years ago

grossmannmartin commented 6 years ago

When a value of an item in array is null, isset returns false. A default value of a tag is null, but the tag itself exists, so hasTag method should return true in this case.

f3l1x commented 6 years ago

Thanks.