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

@@ 1128-1132 (lines=5) @@
1125
      return false;
1126
    }
1127
1128
    if (!$sql || $sql === '') {
1129
      $this->_debug->displayError('Can not execute an empty query.', false);
1130
1131
      return false;
1132
    }
1133
1134
    $query_start_time = microtime(true);
1135
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1297-1301 (lines=5) @@
1294
      return false;
1295
    }
1296
1297
    if (!$sql || $sql === '') {
1298
      $this->_debug->displayError('Can not execute an empty query.', false);
1299
1300
      return false;
1301
    }
1302
1303
    if (
1304
        $params !== false