| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 33 | public function findBetween($deviceHash, $from, $until, $limit=null, $offset=null) { |
||
| 34 | $sql = 'SELECT * FROM `*PREFIX*maps_locations` '. |
||
| 35 | 'WHERE `device_hash` = ?'. |
||
| 36 | 'AND `timestamp` BETWEEN ? and ?'; |
||
| 37 | return $this->findEntities($sql, [$deviceHash, $from, $until], $limit, $offset); |
||
| 38 | } |
||
| 39 | |||
| 50 |