Skip to content

Commit d087e59

Browse files
z-songStyleCIBot
authored andcommitted
Apply fixes from StyleCI
1 parent 6731dd7 commit d087e59

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Grid.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ protected function addRelationColumn($name, $label = '')
387387
return $this;
388388
}
389389

390-
$name = ($this->shouldSnakeAttributes() ? Str::snake($relation) : $relation) .'.'.$column;
390+
$name = ($this->shouldSnakeAttributes() ? Str::snake($relation) : $relation).'.'.$column;
391391

392392
$this->model()->with($relation);
393393

src/Traits/ShouldSnakeAttributes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ public function shouldSnakeAttributes()
1515

1616
return $class::$snakeAttributes;
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)