Update elements.rst

Fixed a typo in the $lineStyle example (defined previously as $linestyle but used as $lineStyle)
This commit is contained in:
ejuhjav 2015-05-20 13:17:11 +02:00
parent 3f136501b3
commit daf7d11144

View File

@ -497,7 +497,7 @@ Line elements can be added to sections by using ``addLine``.
.. code-block:: php
$linestyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
$lineStyle = array('weight' => 1, 'width' => 100, 'height' => 0, 'color' => 635552);
$section->addLine($lineStyle)
Available line style attributes: