Skip to content

Commit 6657f0e

Browse files
committed
fix doc
1 parent 7e3d9fb commit 6657f0e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/elements.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,12 @@ Text breaks are empty new lines. To add text breaks, use the following syntax. A
135135
Page breaks
136136
~~~~~~~~~~~
137137

138-
There are two ways to insert a page breaks, using the ``addPageBreak``
138+
There are two ways to insert a page break, using the ``addPageBreak``
139139
method or using the ``pageBreakBefore`` style of paragraph.
140140

141-
:: code-block:: php
141+
.. code-block:: php
142142
143-
\\$section->addPageBreak();
143+
$section->addPageBreak();
144144
145145
Lists
146146
-----

src/PhpWord/Element/AbstractElement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ abstract class AbstractElement
7373
/**
7474
* Unique Id for element
7575
*
76-
* @var int
76+
* @var string
7777
*/
7878
protected $elementId;
7979

0 commit comments

Comments
 (0)