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

@@ 1032-1036 (lines=5) @@
1029
      return false;
1030
    }
1031
1032
    if (!$sql || $sql === '') {
1033
      $this->_debug->displayError('Can not execute an empty query.', false);
1034
1035
      return false;
1036
    }
1037
1038
    $query_start_time = microtime(true);
1039
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1183-1187 (lines=5) @@
1180
      return false;
1181
    }
1182
1183
    if (!$sql || $sql === '') {
1184
      $this->_debug->displayError('Can not execute an empty query.', false);
1185
1186
      return false;
1187
    }
1188
1189
    if (
1190
        $params !== false