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

@@ 1147-1151 (lines=5) @@
1144
      return false;
1145
    }
1146
1147
    if (!$sql || $sql === '') {
1148
      $this->_debug->displayError('Can not execute an empty query.', false);
1149
      return false;
1150
    }
1151
1152
    $query_start_time = microtime(true);
1153
    $resultTmp = \mysqli_multi_query($this->link, $sql);
1154
    $query_duration = microtime(true) - $query_start_time;
@@ 1312-1316 (lines=5) @@
1309
      return false;
1310
    }
1311
1312
    if (!$sql || $sql === '') {
1313
      $this->_debug->displayError('Can not execute an empty query.', false);
1314
      return false;
1315
    }
1316
1317
    if (
1318
        $params !== false
1319
        &&