1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:14:03 +00:00
This commit is contained in:
Samuel Štancl 2019-08-16 16:01:39 +02:00
parent e7716f94a0
commit 2fe464a1f9

View file

@ -77,7 +77,7 @@ class Tenant extends Model
public function get(string $key) public function get(string $key)
{ {
return $this->$key ?? $this->getFromData($key) ?? null; return $this->attributes[$key] ?? $this->getFromData($key) ?? null;
} }
/** @todo In v2, this should return an associative array. */ /** @todo In v2, this should return an associative array. */