Skip to content

Commit bc0bdf7

Browse files
committed
check -> toggle
1 parent 8b56765 commit bc0bdf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MenuItem/CheckableItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public function hideItemExtra() : void
138138
/**
139139
* Toggles checked state
140140
*/
141-
public function check()
141+
public function toggle()
142142
{
143143
$this->checked = !$this->checked;
144144
}

0 commit comments

Comments
 (0)