1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:34:04 +00:00

putMany() should return array, not put()

This commit is contained in:
Samuel Štancl 2019-04-23 17:11:46 +02:00
parent 9e4849439f
commit b20f62ecfa

View file

@ -12,6 +12,6 @@ interface StorageDriver
public function deleteTenant(string $uuid): bool;
public function get(string $uuid, string $key);
public function getMany(string $uuid, array $keys): array;
public function put(string $uuid, string $key, $value): array;
public function putMany(string $uuid, array $values); // todo better argument name than "values" for kv pairs?
public function put(string $uuid, string $key, $value);
public function putMany(string $uuid, array $values): array; // todo better argument name than "values" for kv pairs?
}