File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 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
3131 *
3232 * @var \PhpOffice\PhpWord\Style\TOC
3333 */
34- private $ TOCStyle ;
34+ private $ tocStyle ;
3535
3636 /**
3737 * Font style.
@@ -64,10 +64,10 @@ class TOC extends AbstractElement
6464 */
6565 public function __construct ($ fontStyle = null , $ tocStyle = null , $ minDepth = 1 , $ maxDepth = 9 )
6666 {
67- $ this ->TOCStyle = new TOCStyle ();
67+ $ this ->tocStyle = new TOCStyle ();
6868
6969 if (null !== $ tocStyle && is_array ($ tocStyle )) {
70- $ this ->TOCStyle ->setStyleByArray ($ tocStyle );
70+ $ this ->tocStyle ->setStyleByArray ($ tocStyle );
7171 }
7272
7373 if (null !== $ fontStyle && is_array ($ fontStyle )) {
@@ -114,7 +114,7 @@ public function getTitles()
114114 */
115115 public function getStyleTOC ()
116116 {
117- return $ this ->TOCStyle ;
117+ return $ this ->tocStyle ;
118118 }
119119
120120 /**
You can’t perform that action at this time.
0 commit comments