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

@@ 1248-1252 (lines=5) @@
1245
      return false;
1246
    }
1247
1248
    if (!$sql || $sql === '') {
1249
      $this->_debug->displayError('Can not execute an empty query.', false);
1250
1251
      return false;
1252
    }
1253
1254
    $query_start_time = microtime(true);
1255
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1404-1408 (lines=5) @@
1401
      return false;
1402
    }
1403
1404
    if (!$sql || $sql === '') {
1405
      $this->_debug->displayError('Can not execute an empty query.', false);
1406
1407
      return false;
1408
    }
1409
1410
    if (
1411
        $params !== false