mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 08:32:18 +00:00
Optimisations
This commit is contained in:
@@ -340,7 +340,7 @@ class Router
|
|||||||
|
|
||||||
if ($includeEmpty === false) {
|
if ($includeEmpty === false) {
|
||||||
$getParams = array_filter($getParams, function ($item) {
|
$getParams = array_filter($getParams, function ($item) {
|
||||||
return (!empty($item));
|
return (trim($item) !== false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user