@@ -59,12 +59,12 @@ |
||
| 59 | 59 | |
| 60 | 60 | // Map integers |
| 61 | 61 | if (preg_match('/^(\d+)$/', $value, $matches)) { |
| 62 | - return (int) $matches[1]; |
|
| 62 | + return (int)$matches[1]; |
|
| 63 | 63 | } |
| 64 | 64 | |
| 65 | 65 | // Map floats |
| 66 | 66 | if (preg_match('/^(\d+\.\d+)$/', $value, $matches)) { |
| 67 | - return (float) $matches[1]; |
|
| 67 | + return (float)$matches[1]; |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | // Map strings |