File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ class TOC extends AbstractElement
31
31
*
32
32
* @var \PhpOffice\PhpWord\Style\TOC
33
33
*/
34
- private $ TOCStyle ;
34
+ private $ tocStyle ;
35
35
36
36
/**
37
37
* Font style.
@@ -64,10 +64,10 @@ class TOC extends AbstractElement
64
64
*/
65
65
public function __construct ($ fontStyle = null , $ tocStyle = null , $ minDepth = 1 , $ maxDepth = 9 )
66
66
{
67
- $ this ->TOCStyle = new TOCStyle ();
67
+ $ this ->tocStyle = new TOCStyle ();
68
68
69
69
if (null !== $ tocStyle && is_array ($ tocStyle )) {
70
- $ this ->TOCStyle ->setStyleByArray ($ tocStyle );
70
+ $ this ->tocStyle ->setStyleByArray ($ tocStyle );
71
71
}
72
72
73
73
if (null !== $ fontStyle && is_array ($ fontStyle )) {
@@ -114,7 +114,7 @@ public function getTitles()
114
114
*/
115
115
public function getStyleTOC ()
116
116
{
117
- return $ this ->TOCStyle ;
117
+ return $ this ->tocStyle ;
118
118
}
119
119
120
120
/**
You can’t perform that action at this time.
0 commit comments