Passed
Push — master ( 1e7188...a76082 )
by Mark
02:08
created
StaticMap.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -410,8 +410,9 @@
 block discarded – undo
410 410
      */
411 411
     public function fetchTile(string $url)
412 412
     {
413
-        if ($this->useTileCache && ($cached = $this->checkTileCache($url)))
414
-            return $cached;
413
+        if ($this->useTileCache && ($cached = $this->checkTileCache($url))) {
414
+                    return $cached;
415
+        }
415 416
 
416 417
         $_UA = 'Mozilla/4.0 (compatible; DokuWikiSpatial HTTP Client; ' . PHP_OS . ')';
417 418
         if (function_exists("curl_init")) {
Please login to merge, or discard this patch.
syntax/olmap.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -607,8 +607,9 @@
 block discarded – undo
607 607
                 . "%2C" . $bbox ['maxlon'];
608 608
             $imgUrl .= "&dcl=1";
609 609
         }
610
-        if (strpos($imgUrl, "?") === false)
611
-            $imgUrl .= "?";
610
+        if (strpos($imgUrl, "?") === false) {
611
+                    $imgUrl .= "?";
612
+        }
612 613
 
613 614
         //$imgUrl .= "&ms=" . str_replace ( "px", "", $gmap ['width'] ) . ","
614 615
         //          . str_replace ( "px", "", $gmap ['height'] );
Please login to merge, or discard this patch.