@@ -73,9 +73,9 @@ discard block |
||
73 | 73 | public function fetchOneBy(array $where = []): ?GeoCacheEntity |
74 | 74 | { |
75 | 75 | $queryBuilder = $this->connection->createQueryBuilder() |
76 | - ->select('*') |
|
77 | - ->from(self::TABLE) |
|
78 | - ->setMaxResults(1); |
|
76 | + ->select('*') |
|
77 | + ->from(self::TABLE) |
|
78 | + ->setMaxResults(1); |
|
79 | 79 | |
80 | 80 | if (count($where) > 0) { |
81 | 81 | foreach ($where as $column => $value) { |
@@ -105,8 +105,8 @@ discard block |
||
105 | 105 | public function fetchBy(array $where = []) |
106 | 106 | { |
107 | 107 | $queryBuilder = $this->connection->createQueryBuilder() |
108 | - ->select('*') |
|
109 | - ->from(self::TABLE); |
|
108 | + ->select('*') |
|
109 | + ->from(self::TABLE); |
|
110 | 110 | |
111 | 111 | if (count($where) > 0) { |
112 | 112 | foreach ($where as $column => $value) { |
@@ -7,7 +7,7 @@ |
||
7 | 7 | error_reporting(E_ALL); |
8 | 8 | ini_set('display_errors', 'on'); |
9 | 9 | |
10 | -$cacheId = (int) $_GET['cacheId']; |
|
10 | +$cacheId = (int)$_GET['cacheId']; |
|
11 | 11 | |
12 | 12 | require __DIR__ . '/lib2/web.inc.php'; |
13 | 13 |