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

@@ 1088-1092 (lines=5) @@
1085
      return false;
1086
    }
1087
1088
    if (!$sql || $sql === '') {
1089
      $this->_debug->displayError('Can not execute an empty query.', false);
1090
1091
      return false;
1092
    }
1093
1094
    $query_start_time = microtime(true);
1095
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1239-1243 (lines=5) @@
1236
      return false;
1237
    }
1238
1239
    if (!$sql || $sql === '') {
1240
      $this->_debug->displayError('Can not execute an empty query.', false);
1241
1242
      return false;
1243
    }
1244
1245
    if (
1246
        $params !== false