File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -28,17 +28,15 @@ public function body($content)
28
28
}
29
29
30
30
31
- public function row ($ content, $ gutter = 0 )
31
+ public function row ($ content )
32
32
{
33
33
34
34
if ($ content instanceof Closure) {
35
35
$ row = new Row ();
36
- $ row ->gutter ($ gutter );
37
36
call_user_func ($ content , $ row );
38
37
$ this ->addRow ($ row );
39
38
} else {
40
- $ row = new Row ();
41
- $ row ->gutter ($ gutter );
39
+ $ row = new Row ($ content );
42
40
$ this ->addRow ($ row );
43
41
}
44
42
return $ this ;
Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ class Row extends Component
18
18
protected $ gutter = 0 ;
19
19
20
20
21
-
22
-
23
-
24
21
public function __construct ($ content = '' )
25
22
{
26
23
if (!empty ($ content )) {
@@ -37,16 +34,6 @@ public function column($width, $content)
37
34
}
38
35
39
36
40
- public function class ($ class )
41
- {
42
- if (is_string ($ class )) {
43
- $ class = [$ class ];
44
- }
45
- $ this ->class = $ class ;
46
- return $ this ;
47
- }
48
-
49
-
50
37
/**
51
38
* @param Column $column
52
39
*/
@@ -65,9 +52,4 @@ public function gutter($gutter)
65
52
$ this ->gutter = $ gutter ;
66
53
return $ this ;
67
54
}
68
-
69
-
70
-
71
-
72
-
73
55
}
You can’t perform that action at this time.
0 commit comments