Completed
Push — development ( 3e1df6...e86b2a )
by Thomas
11:10 queued 06:05
created
htdocs/src/OcLegacy/Map/StaticMap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     private $useTileCache = true;
35 35
 
36
-    private $tileCacheBaseDir =  __DIR__ . '/../../../var/cache2/staticmap';
36
+    private $tileCacheBaseDir = __DIR__ . '/../../../var/cache2/staticmap';
37 37
 
38 38
     private $zoom = 0;
39 39
 
@@ -70,11 +70,11 @@  discard block
 block discarded – undo
70 70
 
71 71
         if (isset($_GET['size']) && !empty($_GET['size'])) {
72 72
             list($this->width, $this->height) = explode('x', $_GET['size']);
73
-            $this->width = (int) $this->width;
73
+            $this->width = (int)$this->width;
74 74
             if ($this->width > $this->maxWidth) {
75 75
                 $this->width = $this->maxWidth;
76 76
             }
77
-            $this->height = (int) $this->height;
77
+            $this->height = (int)$this->height;
78 78
             if ($this->height > $this->maxHeight) {
79 79
                 $this->height = $this->maxHeight;
80 80
             }
Please login to merge, or discard this patch.