Skip to content

Commit 7ccae70

Browse files
committed
EventRulesController: Make getFilter method private
1 parent 64d449c commit 7ccae70

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') {
@@ -123,4 +109,18 @@ public function getTabs(): Tabs
123109

124110
return parent::getTabs();
125111
}
112+
113+
/**
114+
* Get the filter created from query string parameters
115+
*
116+
* @return Filter\Rule
117+
*/
118+
private function getFilter(): Filter\Rule
119+
{
120+
if ($this->filter === null) {
121+
$this->filter = QueryString::parse((string) $this->params);
122+
}
123+
124+
return $this->filter;
125+
}
126126
}

0 commit comments

Comments
 (0)