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

@@ 1278-1282 (lines=5) @@
1275
      return false;
1276
    }
1277
1278
    if (!$sql || $sql === '') {
1279
      $this->_debug->displayError('Can not execute an empty query.', false);
1280
1281
      return false;
1282
    }
1283
1284
    $query_start_time = microtime(true);
1285
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1434-1438 (lines=5) @@
1431
      return false;
1432
    }
1433
1434
    if (!$sql || $sql === '') {
1435
      $this->_debug->displayError('Can not execute an empty query.', false);
1436
1437
      return false;
1438
    }
1439
1440
    if (
1441
        $params !== false