Completed
Pull Request — master (#48)
by Mark
13s
created
helper/index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     /**
Please login to merge, or discard this patch.