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

@@ 1287-1291 (lines=5) @@
1284
      return false;
1285
    }
1286
1287
    if (!$sql || $sql === '') {
1288
      $this->_debug->displayError('Can not execute an empty query.', false);
1289
1290
      return false;
1291
    }
1292
1293
    $query_start_time = microtime(true);
1294
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1443-1447 (lines=5) @@
1440
      return false;
1441
    }
1442
1443
    if (!$sql || $sql === '') {
1444
      $this->_debug->displayError('Can not execute an empty query.', false);
1445
1446
      return false;
1447
    }
1448
1449
    if (
1450
        $params !== false