mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 19:24:02 +00:00
remove unnecessary type conversion
This commit is contained in:
parent
533502ddfa
commit
b07b848a56
1 changed files with 0 additions and 2 deletions
|
|
@ -33,8 +33,6 @@ class RedisStorageDriver implements StorageDriver
|
||||||
*/
|
*/
|
||||||
public function getTenantById(string $uuid, array $fields = []): array
|
public function getTenantById(string $uuid, array $fields = []): array
|
||||||
{
|
{
|
||||||
$fields = (array) $fields;
|
|
||||||
|
|
||||||
if (! $fields) {
|
if (! $fields) {
|
||||||
return $this->redis->hgetall("tenants:$uuid");
|
return $this->redis->hgetall("tenants:$uuid");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue