@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | */ |
| 348 | 348 | public function getTableAttribute($attribute) |
| 349 | 349 | { |
| 350 | - if (! array_key_exists($attribute, $this->tableAttributes)) { |
|
| 350 | + if (!array_key_exists($attribute, $this->tableAttributes)) { |
|
| 351 | 351 | throw new \Exception("Table attribute '{$attribute}' does not exist."); |
| 352 | 352 | } |
| 353 | 353 | |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | public function columns(array $columns) |
| 390 | 390 | { |
| 391 | 391 | foreach ($columns as $key => $value) { |
| 392 | - if (! is_a($value, Column::class)) { |
|
| 392 | + if (!is_a($value, Column::class)) { |
|
| 393 | 393 | if (is_array($value)) { |
| 394 | 394 | $attributes = array_merge(['name' => $key, 'data' => $key], $this->setTitle($key, $value)); |
| 395 | 395 | } else { |
@@ -418,7 +418,7 @@ discard block |
||
| 418 | 418 | */ |
| 419 | 419 | public function setTitle($title, array $attributes) |
| 420 | 420 | { |
| 421 | - if (! isset($attributes['title'])) { |
|
| 421 | + if (!isset($attributes['title'])) { |
|
| 422 | 422 | $attributes['title'] = $this->getQualifiedTitle($title); |
| 423 | 423 | } |
| 424 | 424 | |