File tree 2 files changed +11
-4
lines changed
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,10 @@ public function __construct(
32
32
33
33
protected function initialize (): static
34
34
{
35
- $ this ->shape = $ this ->slide ->raw ()->createChartShape ();
35
+ $ this ->shape = $ this ->slide
36
+ ->raw ()
37
+ ->createChartShape ()
38
+ ->setName (str ()->random ());
36
39
37
40
return $ this ;
38
41
}
Original file line number Diff line number Diff line change @@ -18,14 +18,18 @@ class Table extends Component
18
18
WithShape;
19
19
20
20
public function __construct (
21
- protected int $ columns = 1 ,
21
+ protected int $ columns = 1 ,
22
22
protected array $ rows = [],
23
- ) {
23
+ )
24
+ {
24
25
}
25
26
26
27
protected function initialize (): static
27
28
{
28
- $ this ->shape = $ this ->slide ->raw ()->createTableShape ($ this ->columns );
29
+ $ this ->shape = $ this ->slide
30
+ ->raw ()
31
+ ->createTableShape ($ this ->columns )
32
+ ->setName (str ()->random ());
29
33
30
34
return $ this ;
31
35
}
You can’t perform that action at this time.
0 commit comments