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

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