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

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-08-09 21:03:27 +00:00 committed by StyleCI Bot
parent fc76da38cb
commit feaac4cbd1

View file

@ -26,6 +26,7 @@ class Tenant extends Model
public function getFromData(string $key) public function getFromData(string $key)
{ {
$this->dataObject = $this->dataObject ?? json_decode($this->{$this->dataColumn}); $this->dataObject = $this->dataObject ?? json_decode($this->{$this->dataColumn});
return $this->dataObject->$key; return $this->dataObject->$key;
} }