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

@@ 1086-1090 (lines=5) @@
1083
      return false;
1084
    }
1085
1086
    if (!$sql || $sql === '') {
1087
      $this->_debug->displayError('Can not execute an empty query.', false);
1088
1089
      return false;
1090
    }
1091
1092
    $query_start_time = microtime(true);
1093
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1253-1257 (lines=5) @@
1250
      return false;
1251
    }
1252
1253
    if (!$sql || $sql === '') {
1254
      $this->_debug->displayError('Can not execute an empty query.', false);
1255
1256
      return false;
1257
    }
1258
1259
    if (
1260
        $params !== false