Passed
Push — master ( 3e0e41...6e0666 )
by
unknown
02:13
created
src/Manticoresearch/Query/Distance.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,9 @@
 block discarded – undo
71 71
      */
72 72
     public function setDistanceType($algorithm)
73 73
     {
74
-        if (!$algorithm) $algorithm = null;
74
+        if (!$algorithm) {
75
+            $algorithm = null;
76
+        }
75 77
         $this->params['geo_distance']['distance_type'] = $algorithm ?? 'adaptive';
76 78
     }
77 79
 }
Please login to merge, or discard this patch.