Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a4ec6d3

Browse files
committed
[DomCrawler] Change bad wording in ChoiceFormField::untick
1 parent ffd088a commit a4ec6d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/DomCrawler/Field/ChoiceFormField.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ public function tick()
9797
}
9898

9999
/**
100-
* Ticks a checkbox.
100+
* Unticks a checkbox.
101101
*
102102
* @throws \LogicException When the type provided is not correct
103103
*/
104104
public function untick()
105105
{
106106
if ('checkbox' !== $this->type) {
107-
throw new \LogicException(sprintf('You cannot tick "%s" as it is not a checkbox (%s).', $this->name, $this->type));
107+
throw new \LogicException(sprintf('You cannot untick "%s" as it is not a checkbox (%s).', $this->name, $this->type));
108108
}
109109

110110
$this->setValue(false);

0 commit comments

Comments
 (0)