File tree 5 files changed +9
-12
lines changed
5 files changed +9
-12
lines changed Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Contracts \Support \Arrayable ;
6
6
use Illuminate \Support \Fluent ;
7
+ use Illuminate \Support \Traits \Macroable ;
7
8
8
9
class Button extends Fluent implements Arrayable
9
10
{
10
11
use HasAuthorizations;
12
+ use Macroable;
11
13
12
14
/**
13
15
* Make a new button instance.
Original file line number Diff line number Diff line change 4
4
5
5
use Illuminate \Support \Collection ;
6
6
7
- class ColumnDefinitions extends Collection
8
- {
9
- }
7
+ class ColumnDefinitions extends Collection {}
Original file line number Diff line number Diff line change 2
2
3
3
namespace Yajra \DataTables \Html \Editor \Fields ;
4
4
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(
20
20
* The View Factory instance.
21
21
*/
22
22
protected Factory $ view
23
- ) {
24
- }
23
+ ) {}
25
24
26
25
/**
27
26
* 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
194
194
195
195
$ builder ->layout (fn (Layout $ layout ) => $ layout
196
196
->addView (
197
- view: new TestView () ,
197
+ view: new TestView ,
198
198
layoutPosition: LayoutPosition::Top,
199
199
)
200
200
->addView (
201
- view: new TestInlineView () ,
201
+ view: new TestInlineView ,
202
202
layoutPosition: LayoutPosition::Bottom,
203
203
)
204
204
->addView (
@@ -212,12 +212,12 @@ public function it_can_accept_view_instance_or_string_for_layout_content(): void
212
212
order: 2
213
213
)
214
214
->addView (
215
- view: (new TestView () )->render (),
215
+ view: (new TestView )->render (),
216
216
layoutPosition: LayoutPosition::Top,
217
217
order: 3
218
218
)
219
219
->addView (
220
- view: (new TestInlineView () )->render (),
220
+ view: (new TestInlineView )->render (),
221
221
layoutPosition: LayoutPosition::Bottom,
222
222
order: 4
223
223
)
You can’t perform that action at this time.
0 commit comments