Sfoglia il codice sorgente

fixed regex

tags/0.1.0
Robin Thoni 8 anni fa
parent
commit
87b45f6bb4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/Utils/LuRoute.php

+ 1
- 1
src/Utils/LuRoute.php Vedi 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…
Annulla
Salva