File tree Expand file tree Collapse file tree 5 files changed +3
-9
lines changed Expand file tree Collapse file tree 5 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 22
33namespace Rappasoft \LaravelLivewireTables \Views \Columns \Traits \Configuration ;
44
5-
65trait ColumnConfiguration
76{
8-
97 public function html (): self
108 {
119 $ this ->html = true ;
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ public function getLabelCallback(): ?callable
2525 {
2626 return $ this ->labelCallback ;
2727 }
28-
28+
2929 public function label (callable $ callback ): self
3030 {
3131 $ this ->from = null ;
@@ -41,4 +41,4 @@ public function format(callable $callable): Column
4141
4242 return $ this ;
4343 }
44- }
44+ }
Original file line number Diff line number Diff line change @@ -46,5 +46,4 @@ public function eagerLoadRelationsIsEnabled(): bool
4646 {
4747 return $ this ->eagerLoadRelations === true ;
4848 }
49-
50- }
49+ }
Original file line number Diff line number Diff line change @@ -34,5 +34,4 @@ public function isColumnBySlug(string $slug): bool
3434 {
3535 return $ this ->getSlug () === $ slug ;
3636 }
37-
3837}
Original file line number Diff line number Diff line change @@ -122,13 +122,11 @@ public function getValue(Model $row): mixed
122122 return $ row ->{$ this ->getRelationString ().'. ' .$ this ->getField ()};
123123 }
124124
125-
126125 public function isReorderColumn (): bool
127126 {
128127 return $ this ->isReorderColumn ;
129128 }
130129
131-
132130 public function isHtml (): bool
133131 {
134132 return $ this ->html === true ;
You can’t perform that action at this time.
0 commit comments