mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 11:14:04 +00:00
Use only
This commit is contained in:
parent
e7716f94a0
commit
2fe464a1f9
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class Tenant extends Model
|
|||
|
||||
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. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue