Skip to content

Commit 319d6cd

Browse files
committed
EventRulesController: Make getFilter method private
1 parent 2a6e983 commit 319d6cd

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

application/controllers/EventRulesController.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -84,20 +84,6 @@ public function indexAction(): void
8484
$this->getTabs()->activate('event-rules');
8585
}
8686

87-
/**
88-
* Get the filter created from query string parameters
89-
*
90-
* @return Filter\Rule
91-
*/
92-
protected function getFilter(): Filter\Rule
93-
{
94-
if ($this->filter === null) {
95-
$this->filter = QueryString::parse((string) $this->params);
96-
}
97-
98-
return $this->filter;
99-
}
100-
10187
public function getTabs(): Tabs
10288
{
10389
if ($this->getRequest()->getActionName() === 'index') {
@@ -119,4 +105,18 @@ public function getTabs(): Tabs
119105

120106
return parent::getTabs();
121107
}
108+
109+
/**
110+
* Get the filter created from query string parameters
111+
*
112+
* @return Filter\Rule
113+
*/
114+
private function getFilter(): Filter\Rule
115+
{
116+
if ($this->filter === null) {
117+
$this->filter = QueryString::parse((string) $this->params);
118+
}
119+
120+
return $this->filter;
121+
}
122122
}

0 commit comments

Comments
 (0)