Completed
Pull Request — master (#57)
by Mark
15s
created
helper/index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
      * @return Point|false
238 238
      * @throws Exception
239 239
      */
240
-    final public function getCoordsFromExif(string $id): Point|false
240
+    final public function getCoordsFromExif(string $id): Point | false
241 241
     {
242 242
         $exif = exif_read_data(mediaFN($id), 0, true);
243 243
         if (!$exif || empty($exif ['GPS'])) {
@@ -288,11 +288,11 @@  discard block
 block discarded – undo
288 288
     {
289 289
         // rational64u
290 290
         $nums = explode('/', $param);
291
-        if ((int)$nums[1] > 0) {
292
-            return (float)$nums[0] / (int)$nums[1];
291
+        if (( int ) $nums[1] > 0) {
292
+            return ( float ) $nums[0] / ( int ) $nums[1];
293 293
         }
294 294
 
295
-        return (float)$nums[0];
295
+        return ( float ) $nums[0];
296 296
     }
297 297
 
298 298
     /**
Please login to merge, or discard this patch.