FriendsOfCake / crud-json-api

Build advanced JSON API Servers with almost no code.
https://crud-json-api.readthedocs.io/
MIT License
56 stars 32 forks source link

Update JsonApiListener.php to remove reliance on deprecated php function #151

Closed geoidesic closed 2 years ago

geoidesic commented 3 years ago

Replaced array_key_exists with isset

Addresses https://github.com/FriendsOfCake/crud-json-api/issues/150

dakota commented 3 years ago

As far as I can tell, array_key_exists has not been deprecated. This also behaves differently, isset() will return false if the key exists, but has a value of null.