Skip to content

Commit a5ec94e

Browse files
bdelamatreactions-user
authored andcommitted
Fix styling
1 parent 37fd056 commit a5ec94e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Views/Column.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ class Column
5858
public function __construct(string $text = null, string $column = null)
5959
{
6060
$this->text = $text;
61-
if (!$column) {
61+
if (! $column) {
6262
$this->column = Str::snake($text);
63-
}else{
63+
} else {
6464
$this->column = $column;
6565
}
6666

@@ -190,7 +190,7 @@ public function formatted($row, $column = null)
190190
{
191191
if ($column && $column instanceof Column) {
192192
$columnName = $column->column();
193-
} elseif ( is_string($column) ) {
193+
} elseif (is_string($column)) {
194194
$columnName = $column;
195195
} else {
196196
$columnName = $this->column();
@@ -200,7 +200,7 @@ public function formatted($row, $column = null)
200200

201201
if ($this->formatCallback) {
202202
return app()->call($this->formatCallback, ['value' => $value, 'column' => $column, 'row' => $row]);
203-
}else{
203+
} else {
204204
return $value;
205205
}
206206
}

0 commit comments

Comments
 (0)