Skip to content

Commit

Permalink
refactor: by rector
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 22, 2023
1 parent 0093e68 commit 4a28d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Filters/Filters.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ protected function processAliasesToClass(string $position)
}

if (is_array($this->config->aliases[$alias])) {
$filtersClass = array_merge($filtersClass, $this->config->aliases[$alias]);
$filtersClass = [...$filtersClass, ...$this->config->aliases[$alias]];
} else {
$filtersClass[] = $this->config->aliases[$alias];
}
Expand Down

0 comments on commit 4a28d01

Please sign in to comment.