ryanwhowe / key-value-store

This is a database backed key/value store setter and getter library with additional functionality
MIT License
2 stars 0 forks source link

getAllKeys method returns empty array when no keys are present #21

Closed ryanwhowe closed 6 years ago

ryanwhowe commented 6 years ago

Describe the bug KeyValue::getAllKeys() should return false when there are no Key values associated with a given grouping in order to be more consistent with other get methods. Currently it returns an empty array

Expected behavior I expect the method to return a boolean of false as other get methods to when there are no keys associated with the grouping.