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

@@ 1264-1268 (lines=5) @@
1261
      return false;
1262
    }
1263
1264
    if (!$sql || $sql === '') {
1265
      $this->_debug->displayError('Can not execute an empty query.', false);
1266
1267
      return false;
1268
    }
1269
1270
    $query_start_time = microtime(true);
1271
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1420-1424 (lines=5) @@
1417
      return false;
1418
    }
1419
1420
    if (!$sql || $sql === '') {
1421
      $this->_debug->displayError('Can not execute an empty query.', false);
1422
1423
      return false;
1424
    }
1425
1426
    if (
1427
        $params !== false