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 committed by troosan
parent 266817ecac
commit e4fe0c6673
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,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: