Code Duplication    Length = 5-5 lines in 3 locations

src/voku/db/Prepare.php 1 location

@@ 326-330 (lines=5) @@
323
      return false;
324
    }
325
326
    if (!$query || $query === '') {
327
      $this->_debug->displayError('Can not prepare an empty query.', false);
328
329
      return false;
330
    }
331
332
    $bool = parent::prepare($query);
333

src/voku/db/DB.php 2 locations

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