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

@@ 1300-1304 (lines=5) @@
1297
      return false;
1298
    }
1299
1300
    if (!$sql || $sql === '') {
1301
      $this->_debug->displayError('Can not execute an empty query.', false);
1302
1303
      return false;
1304
    }
1305
1306
    $query_start_time = microtime(true);
1307
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1455-1459 (lines=5) @@
1452
      return false;
1453
    }
1454
1455
    if (!$sql || $sql === '') {
1456
      $this->_debug->displayError('Can not execute an empty query.', false);
1457
1458
      return false;
1459
    }
1460
1461
    if (
1462
        $params !== false