Browse Source

Fix style errors

master
Bernhard Fröhlich 1 year ago
parent
commit
9fe41224b4
2 changed files with 5 additions and 5 deletions
  1. 2
    2
      index.php
  2. 3
    3
      lib/FunkFeuer/Nodeman/InterfaceLink.php

+ 2
- 2
index.php View File

@@ -166,8 +166,8 @@ $app->get('/map.js', function ($request, $response) use ($session) {
166 166
         $toloc = $link->getToLocation();
167 167
 
168 168
         $links[] = array(
169
-            'from' => $fromloc->getLongLat(),
170
-            'to' => $toloc->getLongLat(),
169
+            'from'    => $fromloc->getLongLat(),
170
+            'to'      => $toloc->getLongLat(),
171 171
             'quality' => $link->quality
172 172
         );
173 173
     }

+ 3
- 3
lib/FunkFeuer/Nodeman/InterfaceLink.php View File

@@ -109,16 +109,16 @@ class InterfaceLink
109 109
     public function getAllLinks()
110 110
     {
111 111
         $data = array();
112
-     
112
+
113 113
         $stmt = $this->_handle->prepare('SELECT linkid FROM linkdata WHERE 1=1');
114 114
         if (!$stmt->execute(array())) {
115 115
             return $data;
116 116
         }
117
-         
117
+
118 118
         while ($row = $stmt->fetch(\PDO::FETCH_ASSOC)) {
119 119
             $data[] = new self($row['linkid']);
120 120
         }
121
-         
121
+
122 122
         return $data;
123 123
     }
124 124
 

Loading…
Cancel
Save