Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/Prepare.php 1 location

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

src/voku/db/DB.php 2 locations

@@ 1323-1327 (lines=5) @@
1320
      return false;
1321
    }
1322
1323
    if (!$sql || $sql === '') {
1324
      $this->_debug->displayError('Can not execute an empty query.', false);
1325
1326
      return false;
1327
    }
1328
1329
    $query_start_time = microtime(true);
1330
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1510-1514 (lines=5) @@
1507
      return false;
1508
    }
1509
1510
    if (!$sql || $sql === '') {
1511
      $this->_debug->displayError('Can not execute an empty query.', false);
1512
1513
      return false;
1514
    }
1515
1516
    if (
1517
        $params !== false