Skip to content

Commit bc0745f

Browse files
committed
fix method name
1 parent 73bebb0 commit bc0745f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/PhpWord/Element/CheckBox.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function getName()
8282
/**
8383
* set default checked status
8484
* @param bool $default
85+
* @return CheckBox
8586
*/
8687
public function setDefault(bool $default = false)
8788
{
@@ -93,7 +94,7 @@ public function setDefault(bool $default = false)
9394
* get default checked status
9495
* @return bool
9596
*/
96-
public function getDefault(): bool
97+
public function isDefault(): bool
9798
{
9899
return $this->default;
99100
}

0 commit comments

Comments
 (0)