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

@@ 1149-1153 (lines=5) @@
1146
      return false;
1147
    }
1148
1149
    if (!$sql || $sql === '') {
1150
      $this->_debug->displayError('Can not execute an empty query.', false);
1151
1152
      return false;
1153
    }
1154
1155
    $query_start_time = microtime(true);
1156
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1322-1326 (lines=5) @@
1319
      return false;
1320
    }
1321
1322
    if (!$sql || $sql === '') {
1323
      $this->_debug->displayError('Can not execute an empty query.', false);
1324
1325
      return false;
1326
    }
1327
1328
    if (
1329
        $params !== false