Skip to content

Commit 5694eeb

Browse files
authored
Merge pull request z-song#4263 from z-song/analysis-QMMB1o
Apply fixes from StyleCI
2 parents 6731dd7 + d087e59 commit 5694eeb

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)