Skip to content

Commit 5741e47

Browse files
author
eweso
authored
Update ListItem.php
1 parent a09e715 commit 5741e47

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/PhpWord/Style/ListItem.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function getNumId()
141141

142142
/**
143143
* Set numbering Id. Same numId means same list
144-
* @param mixed
144+
* @param mixed $numInt
145145
*/
146146
public function setNumId($numInt)
147147
{
@@ -158,12 +158,12 @@ public function setNumId($numInt)
158158
private function getListTypeStyle()
159159
{
160160
// Check if legacy style already registered in global Style collection
161-
$numStyle = "PHPWordList_" . $this->listType;
162-
161+
$numStyle = 'PHPWordListType' . $this->listType;
162+
163163
if ($this->numId) {
164-
$numStyle .= '_' . $this->numId;
164+
$numStyle .= 'NumId' . $this->numId;
165165
}
166-
166+
167167
if (Style::getStyle($numStyle) !== null) {
168168
$this->setNumStyle($numStyle);
169169

0 commit comments

Comments
 (0)