Skip to content

Commit b2e691f

Browse files
authored
Updated Comments
1 parent 9860dbc commit b2e691f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎system/Filters/Filters.php‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ public function setResponse(ResponseInterface $response)
161161
public function run(string $uri, string $position = 'before')
162162
{
163163
$this->initialize(strtolower($uri));
164-
//reversing after filters
164+
// reversing after filters
165165
if($position === 'after') {
166166
$this->filtersClass[$position] = array_reverse($this->filtersClass[$position]);
167167
}
@@ -234,8 +234,6 @@ public function initialize(?string $uri = null)
234234
$this->processGlobals($uri);
235235
$this->processMethods();
236236
$this->processFilters($uri);
237-
//reversing after filters
238-
$this->filters['after'] = array_reverse($this->filters['after']);
239237
// Set the toolbar filter to the last position to be executed
240238
if (in_array('toolbar', $this->filters['after'], true)
241239
&& ($count = count($this->filters['after'])) > 1

0 commit comments

Comments
 (0)