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

@@ 1091-1095 (lines=5) @@
1088
      return false;
1089
    }
1090
1091
    if (!$sql || $sql === '') {
1092
      $this->_debug->displayError('Can not execute an empty query.', false);
1093
1094
      return false;
1095
    }
1096
1097
    $query_start_time = microtime(true);
1098
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1258-1262 (lines=5) @@
1255
      return false;
1256
    }
1257
1258
    if (!$sql || $sql === '') {
1259
      $this->_debug->displayError('Can not execute an empty query.', false);
1260
1261
      return false;
1262
    }
1263
1264
    if (
1265
        $params !== false