@@ -75,7 +75,7 @@ |
||
| 75 | 75 | * @param $val |
| 76 | 76 | * @param null $descriptor |
| 77 | 77 | * |
| 78 | - * @return mixed |
|
| 78 | + * @return BaseField |
|
| 79 | 79 | * |
| 80 | 80 | * @throws FieldValidationException |
| 81 | 81 | */ |
@@ -51,8 +51,8 @@ |
||
| 51 | 51 | protected function getNativeGeopoint($arr) |
| 52 | 52 | { |
| 53 | 53 | list($lon, $lat) = $arr; |
| 54 | - $lon = (int) $lon; |
|
| 55 | - $lat = (int) $lat; |
|
| 54 | + $lon = (int)$lon; |
|
| 55 | + $lat = (int)$lat; |
|
| 56 | 56 | if ( |
| 57 | 57 | $lon > 180 || $lon < -180 |
| 58 | 58 | || $lat > 90 or $lat < -90 |