Skip to content

Commit 0ecc351

Browse files
authored
Update spacing.md
1 parent abe3ca3 commit 0ecc351

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/styles/spacing.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
``` php
44
<?php
55

6-
$phpWord->addParagraphStyle('spacing', ['space' => ['before' => 120, 'after' => 240]]);
7-
$section->addText('Hello, World!', null, 'spacing');
6+
$phpWord->addParagraphStyle('pStyle', ['space' => ['before' => 120, 'after' => 240]]);
7+
$section->addText('Hello, World!', null, 'pStyle');
88

99
```
1010

0 commit comments

Comments
 (0)