@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | * @return Point|false |
237 | 237 | * @throws Exception |
238 | 238 | */ |
239 | - final public function getCoordsFromExif(string $id): Point|false |
|
239 | + final public function getCoordsFromExif(string $id): Point | false |
|
240 | 240 | { |
241 | 241 | $exif = exif_read_data(mediaFN($id), 0, true); |
242 | 242 | if (empty($exif ['GPS'])) { |
@@ -277,11 +277,11 @@ discard block |
||
277 | 277 | { |
278 | 278 | // rational64u |
279 | 279 | $nums = explode('/', $param); |
280 | - if ((int)$nums[1] > 0) { |
|
281 | - return (float)$nums[0] / (int)$nums[1]; |
|
280 | + if (( int ) $nums[1] > 0) { |
|
281 | + return ( float ) $nums[0] / ( int ) $nums[1]; |
|
282 | 282 | } |
283 | 283 | |
284 | - return (float)$nums[0]; |
|
284 | + return ( float ) $nums[0]; |
|
285 | 285 | } |
286 | 286 | |
287 | 287 | /** |