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

@@ 1156-1160 (lines=5) @@
1153
      return false;
1154
    }
1155
1156
    if (!$sql || $sql === '') {
1157
      $this->_debug->displayError('Can not execute an empty query.', false);
1158
1159
      return false;
1160
    }
1161
1162
    $query_start_time = microtime(true);
1163
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1325-1329 (lines=5) @@
1322
      return false;
1323
    }
1324
1325
    if (!$sql || $sql === '') {
1326
      $this->_debug->displayError('Can not execute an empty query.', false);
1327
1328
      return false;
1329
    }
1330
1331
    if (
1332
        $params !== false