OSDN Git Service

Fix Code Standard
authormalukenho <admin@phpse.net>
Mon, 23 Nov 2015 10:27:57 +0000 (07:27 -0300)
committermalukenho <admin@phpse.net>
Sat, 31 Jan 2015 10:27:57 +0000 (07:27 -0300)
src/PHPRouter/Route.php

index 73f9872..61c5239 100755 (executable)
@@ -77,7 +77,7 @@ class Route
         $url = (string) $url;
 
         // make sure that the URL is suffixed with a forward slash
-        if(substr($url,-1) !== '/') {
+        if (substr($url, -1) !== '/') {
             $url .= '/';
         }