diff --git a/src/ListJsonTable.php b/src/ListJsonTable.php index 6d1e0cc..fb7e35d 100644 --- a/src/ListJsonTable.php +++ b/src/ListJsonTable.php @@ -25,7 +25,8 @@ class ListJsonTable public function __construct(string $json) { $this->beforePrintCell = false; - $this->beforePrint = function (){}; + $this->beforePrint = function () { + }; $this->json = $json; $this->data = json_decode($this->json, true); $this->baseUrl = $this->data['meta']['baseUrl'] ?? ''; @@ -122,12 +123,11 @@ class ListJsonTable private function is_fillable($column): bool { - if (isset($this->data['meta']['fillable'])){ + if (isset($this->data['meta']['fillable'])) { if (in_array($column, $this->data['meta']['fillable'])) { return true; } - } - else{ + } else { return true; }