Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/DB.php 2 locations

@@ 456-460 (lines=5) @@
453
      return false;
454
    }
455
456
    if (!$sql || $sql === '') {
457
      $this->_debug->displayError('Can not execute an empty query.', false);
458
459
      return false;
460
    }
461
462
    if (
463
        $params !== false
@@ 1062-1066 (lines=5) @@
1059
      return false;
1060
    }
1061
1062
    if (!$sql || $sql === '') {
1063
      $this->_debug->displayError('Can not execute an empty query.', false);
1064
1065
      return false;
1066
    }
1067
1068
    $query_start_time = microtime(true);
1069
    $resultTmp = \mysqli_multi_query($this->link, $sql);

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