From feaac4cbd13fd91866a4885bb364621f0cc85029 Mon Sep 17 00:00:00 2001 From: stancl Date: Fri, 9 Aug 2019 21:03:27 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Tenant.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Tenant.php b/src/Tenant.php index 573ccad2..5af3aa6f 100644 --- a/src/Tenant.php +++ b/src/Tenant.php @@ -26,6 +26,7 @@ class Tenant extends Model public function getFromData(string $key) { $this->dataObject = $this->dataObject ?? json_decode($this->{$this->dataColumn}); + return $this->dataObject->$key; }