From 1dc88d23e1d1c10a3aa57cc77605bab1d76b9bbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20Sessing=C3=B8?= Date: Sun, 1 Apr 2018 03:02:21 +0200 Subject: [PATCH] Bugfixes and optimizations - Fixed `hasParam` not working returning expected value in `Url` class. - Chained the remaining methods in the `Url` class. - Simplified `removeParam` method in `Url` class. - Added new `removeParams` method to `Url` class for removal of multiple params. --- .idea/workspace.xml | 232 ++++++++++++------------ src/Pecee/Http/Url.php | 46 ++--- src/Pecee/SimpleRouter/SimpleRouter.php | 2 +- 3 files changed, 142 insertions(+), 138 deletions(-) diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 1da4204..0bf9070 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,8 +3,8 @@ - - + + - + - - + + + + + + + + + + + + + + @@ -31,8 +43,8 @@ - - + + @@ -42,8 +54,8 @@ - - + + @@ -57,20 +69,11 @@ - + - - - - - - - - - - - + + @@ -87,8 +90,20 @@ - - + + + + + + + + + + + + + + @@ -102,28 +117,13 @@ - - - - - - - - - - findRoute - ->fireEvents - RENDER_MIDD - EVENT_RENDER_CSRF - RENDER_ROUTE requirements # Advan # Feed - : void call_user_func_array loadClass $this-> @@ -145,6 +145,12 @@ setSize helpers.php getName + url( + url() + : void + void + set + hasParam D:\Workspace\simple-php-router\src\Pecee\SimpleRouter\Route @@ -205,18 +211,18 @@ @@ -276,9 +282,8 @@ - -