Skip to content

Commit daf7d11

Browse files
author
ejuhjav
committed
Update elements.rst
Fixed a typo in the $lineStyle example (defined previously as $linestyle but used as $lineStyle)
1 parent 3f13650 commit daf7d11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/elements.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ Line elements can be added to sections by using ``addLine``.
497497

498498
.. code-block:: php
499499
500-
$linestyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
500+
$lineStyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
501501
$section->addLine($lineStyle)
502502
503503
Available line style attributes:

0 commit comments

Comments
 (0)