We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | { |
| 17 | 17 | $this->getDbColumnTypes(); |
| 18 | 18 | |
| 19 | - array_map(function ($field) { |
|
| 19 | + array_map(function($field) { |
|
| 20 | 20 | // $this->labels[$field] = $this->makeLabel($field); |
| 21 | 21 | |
| 22 | 22 | $new_field = [ |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | $this->create_fields[$field] = $new_field; |
| 31 | 31 | $this->update_fields[$field] = $new_field; |
| 32 | 32 | |
| 33 | - if (! in_array($field, $this->model->getHidden())) { |
|
| 33 | + if (!in_array($field, $this->model->getHidden())) { |
|
| 34 | 34 | $this->columns[] = [ |
| 35 | 35 | 'name' => $field, |
| 36 | 36 | 'label' => ucfirst($field), |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | */ |
| 68 | 68 | public function getFieldTypeFromDbColumnType($field) |
| 69 | 69 | { |
| 70 | - if (! array_key_exists($field, $this->db_column_types)) { |
|
| 70 | + if (!array_key_exists($field, $this->db_column_types)) { |
|
| 71 | 71 | return 'text'; |
| 72 | 72 | } |
| 73 | 73 | |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | $columns = $this->model->getConnection()->getSchemaBuilder()->getColumnListing($this->model->getTable()); |
| 149 | 149 | $fillable = $this->model->getFillable(); |
| 150 | 150 | |
| 151 | - if (! empty($fillable)) { |
|
| 151 | + if (!empty($fillable)) { |
|
| 152 | 152 | $columns = array_intersect($columns, $fillable); |
| 153 | 153 | } |
| 154 | 154 | |