Skip to content

Commit 51f25fc

Browse files
committed
wip
1 parent 43073e8 commit 51f25fc

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/Traits/Checkboxes.php

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@
77
*/
88
trait Checkboxes
99
{
10-
/**
11-
* Checboxes.
12-
*/
1310

1411
/**
1512
* Whether or not checkboxes are enabled.
@@ -46,7 +43,10 @@ trait Checkboxes
4643
*/
4744
public $checkboxValues = [];
4845

49-
public function updatedCheckboxAll()
46+
/**
47+
* Adds all the id's to the checkbox array
48+
*/
49+
public function updatedCheckboxAll() : void
5050
{
5151
$this->checkboxValues = [];
5252

@@ -57,7 +57,10 @@ public function updatedCheckboxAll()
5757
}
5858
}
5959

60-
public function updatedCheckboxValues()
60+
/**
61+
* Toggles the checkbox that selects/deselects all of the checkboxes
62+
*/
63+
public function updatedCheckboxValues() : void
6164
{
6265
$this->checkboxAll = false;
6366
}

0 commit comments

Comments
 (0)