aboutsummaryrefslogtreecommitdiffstats
path: root/includes/ListToggle.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/ListToggle.php')
-rw-r--r--includes/ListToggle.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/includes/ListToggle.php b/includes/ListToggle.php
index dfa1763a1976..4733dfb7144e 100644
--- a/includes/ListToggle.php
+++ b/includes/ListToggle.php
@@ -51,10 +51,11 @@ class ListToggle {
*/
public function getHTML() {
// Select: All, None, Invert
- $links = [];
- $links[] = $this->checkboxLink( 'all' );
- $links[] = $this->checkboxLink( 'none' );
- $links[] = $this->checkboxLink( 'invert' );
+ $links = [
+ $this->checkboxLink( 'all' ),
+ $this->checkboxLink( 'none' ),
+ $this->checkboxLink( 'invert' ),
+ ];
return Html::rawElement( 'div',
[