mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 21:12:14 +00:00
Altered variable name in foreach to be less ambiguous.
This commit is contained in:
@@ -312,9 +312,9 @@ class InputHandler
|
|||||||
|
|
||||||
$output = (\count($filter) > 0) ? array_intersect_key($output, array_flip($filter)) : $output;
|
$output = (\count($filter) > 0) ? array_intersect_key($output, array_flip($filter)) : $output;
|
||||||
|
|
||||||
foreach ($filter as $value) {
|
foreach ($filter as $filterKey) {
|
||||||
if (!array_key_exists($value, $output)) {
|
if (!array_key_exists($filterKey, $output)) {
|
||||||
$output[$value] = null;
|
$output[$filterKey] = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user