Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/Prepare.php 1 location

@@ 329-333 (lines=5) @@
326
      return false;
327
    }
328
329
    if (!$query || $query === '') {
330
      $this->_debug->displayError('Can not prepare an empty query.', false);
331
332
      return false;
333
    }
334
335
    $bool = parent::prepare($query);
336

src/voku/db/DB.php 2 locations

@@ 1270-1274 (lines=5) @@
1267
      return false;
1268
    }
1269
1270
    if (!$sql || $sql === '') {
1271
      $this->_debug->displayError('Can not execute an empty query.', false);
1272
1273
      return false;
1274
    }
1275
1276
    $query_start_time = microtime(true);
1277
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1426-1430 (lines=5) @@
1423
      return false;
1424
    }
1425
1426
    if (!$sql || $sql === '') {
1427
      $this->_debug->displayError('Can not execute an empty query.', false);
1428
1429
      return false;
1430
    }
1431
1432
    if (
1433
        $params !== false