Explorar el Código

fixed regex

tags/0.1.0
Robin Thoni hace 8 años
padre
commit
87b45f6bb4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/Utils/LuRoute.php

+ 1
- 1
src/Utils/LuRoute.php Ver fichero

@@ -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…
Cancelar
Guardar