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

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