File tree Expand file tree Collapse file tree 5 files changed +9
-12
lines changed Expand file tree Collapse file tree 5 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 44
55use Illuminate \Contracts \Support \Arrayable ;
66use Illuminate \Support \Fluent ;
7+ use Illuminate \Support \Traits \Macroable ;
78
89class Button extends Fluent implements Arrayable
910{
1011 use HasAuthorizations;
12+ use Macroable;
1113
1214 /**
1315 * Make a new button instance.
Original file line number Diff line number Diff line change 44
55use Illuminate \Support \Collection ;
66
7- class ColumnDefinitions extends Collection
8- {
9- }
7+ class ColumnDefinitions extends Collection {}
Original file line number Diff line number Diff line change 22
33namespace Yajra \DataTables \Html \Editor \Fields ;
44
5- class Text extends Field
6- {
7- }
5+ class Text extends Field {}
Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ public function __construct(
2020 * The View Factory instance.
2121 */
2222 protected Factory $ view
23- ) {
24- }
23+ ) {}
2524
2625 /**
2726 * Convert entities to HTML characters.
Original file line number Diff line number Diff line change @@ -194,11 +194,11 @@ public function it_can_accept_view_instance_or_string_for_layout_content(): void
194194
195195 $ builder ->layout (fn (Layout $ layout ) => $ layout
196196 ->addView (
197- view: new TestView () ,
197+ view: new TestView ,
198198 layoutPosition: LayoutPosition::Top,
199199 )
200200 ->addView (
201- view: new TestInlineView () ,
201+ view: new TestInlineView ,
202202 layoutPosition: LayoutPosition::Bottom,
203203 )
204204 ->addView (
@@ -212,12 +212,12 @@ public function it_can_accept_view_instance_or_string_for_layout_content(): void
212212 order: 2
213213 )
214214 ->addView (
215- view: (new TestView () )->render (),
215+ view: (new TestView )->render (),
216216 layoutPosition: LayoutPosition::Top,
217217 order: 3
218218 )
219219 ->addView (
220- view: (new TestInlineView () )->render (),
220+ view: (new TestInlineView )->render (),
221221 layoutPosition: LayoutPosition::Bottom,
222222 order: 4
223223 )
You can’t perform that action at this time.
0 commit comments