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

@@ 1227-1231 (lines=5) @@
1224
      return false;
1225
    }
1226
1227
    if (!$sql || $sql === '') {
1228
      $this->_debug->displayError('Can not execute an empty query.', false);
1229
1230
      return false;
1231
    }
1232
1233
    $query_start_time = microtime(true);
1234
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1383-1387 (lines=5) @@
1380
      return false;
1381
    }
1382
1383
    if (!$sql || $sql === '') {
1384
      $this->_debug->displayError('Can not execute an empty query.', false);
1385
1386
      return false;
1387
    }
1388
1389
    if (
1390
        $params !== false