1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 17:04:03 +00:00

remove unnecessary type conversion

This commit is contained in:
Samuel Štancl 2019-08-10 09:27:35 +02:00
parent 533502ddfa
commit b07b848a56

View file

@ -33,8 +33,6 @@ class RedisStorageDriver implements StorageDriver
*/
public function getTenantById(string $uuid, array $fields = []): array
{
$fields = (array) $fields;
if (! $fields) {
return $this->redis->hgetall("tenants:$uuid");
}