Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/Prepare.php 1 location

@@ 326-330 (lines=5) @@
323
      return false;
324
    }
325
326
    if (!$query || $query === '') {
327
      $this->_debug->displayError('Can not prepare an empty query.', false);
328
329
      return false;
330
    }
331
332
    $bool = parent::prepare($query);
333

src/voku/db/DB.php 2 locations

@@ 1292-1296 (lines=5) @@
1289
      return false;
1290
    }
1291
1292
    if (!$sql || $sql === '') {
1293
      $this->_debug->displayError('Can not execute an empty query.', false);
1294
1295
      return false;
1296
    }
1297
1298
    $query_start_time = microtime(true);
1299
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1447-1451 (lines=5) @@
1444
      return false;
1445
    }
1446
1447
    if (!$sql || $sql === '') {
1448
      $this->_debug->displayError('Can not execute an empty query.', false);
1449
1450
      return false;
1451
    }
1452
1453
    if (
1454
        $params !== false