1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-13 06:54:03 +00:00

Apply fixes from StyleCI

This commit is contained in:
stancl 2019-09-15 09:02:28 +00:00 committed by StyleCI Bot
parent 19ca1307d7
commit 553e4c381b

View file

@ -106,8 +106,7 @@ class TenantModel extends Model
$customColumns = []; $customColumns = [];
$jsonObj = json_decode($this->{$this->customColumns()}); $jsonObj = json_decode($this->{$this->customColumns()});
foreach($kvPairs as $key => $value) foreach ($kvPairs as $key => $value) {
{
if (in_array($key, $this->customColumns())) { if (in_array($key, $this->customColumns())) {
$customColumns[$key] = $value; $customColumns[$key] = $value;
continue; continue;