@@ -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 |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * Text constructor. |
| 44 | 44 | * |
| 45 | - * @param $data |
|
| 45 | + * @param string $data |
|
| 46 | 46 | */ |
| 47 | 47 | public function __construct($data) |
| 48 | 48 | { |