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

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