Browse Source

fixed regex

tags/0.1.0
Robin Thoni 8 years ago
parent
commit
87b45f6bb4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/Utils/LuRoute.php

+ 1
- 1
src/Utils/LuRoute.php View File

@@ -5,7 +5,7 @@ namespace Luticate\Utils;
5 5
 class LuRoute {
6 6
 
7 7
     const REG_UINT = "[0-9]+";
8
-    const REG_INT = "\\-?" . self::REG_INT;
8
+    const REG_INT = "\\-?" . self::REG_UINT;
9 9
     const REG_BOOL = "true|false";
10 10
 
11 11
     /**

Loading…
Cancel
Save