From fa8662a0d1603ca151bc68855e8e5998571b16f8 Mon Sep 17 00:00:00 2001 From: grandeljay Date: Wed, 9 Nov 2022 17:42:01 +0100 Subject: [PATCH] Refactor --- src/classes/url.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/classes/url.php b/src/classes/url.php index 23f9e1c7..7ea5c1b1 100644 --- a/src/classes/url.php +++ b/src/classes/url.php @@ -72,8 +72,8 @@ class URL if (count($parts) >= 2) { switch ($parts[0]) { case 'RewriteRule': - $rewriteRule = $parts[1]; - $target = $parts[2]; + $rewriteRule = $parts[1]; + $target = $parts[2]; $regex = str_replace('/', '\/', $rewriteRule); @@ -125,7 +125,7 @@ class URL uasort( $getParameters, - function($a, $b) { + function ($a, $b) { return strlen($a) <=> strlen($b); } );