Skip to content

Commit 778a77e

Browse files
ejuhjavtroosan
authored andcommitted
Update elements.rst
Fixed a typo in the $lineStyle example (defined previously as $linestyle but used as $lineStyle)
1 parent 7b9e262 commit 778a77e

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
@@ -414,7 +414,7 @@ Line elements can be added to sections by using ``addLine``.
414414

415415
.. code-block:: php
416416
417-
$linestyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
417+
$lineStyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
418418
$section->addLine($lineStyle)
419419
420420
Available line style attributes:

0 commit comments

Comments
 (0)