Completed
Pull Request — development (#730)
by Kai
06:46
created
htdocs/newcaches.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -72,8 +72,8 @@
 block discarded – undo
72 72
             ]
73 73
         )
74 74
         ->orderBy('caches.' . $dateField, $sortOrder)
75
-        ->setFirstResult((int) $startAt)
76
-        ->setMaxResults((int) $perpage);
75
+        ->setFirstResult((int)$startAt)
76
+        ->setMaxResults((int)$perpage);
77 77
 
78 78
     if ($country) {
79 79
         $newCachesQuery->andWhere('`caches`.`country`= :country');
Please login to merge, or discard this patch.
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.