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

@@ 1254-1258 (lines=5) @@
1251
      return false;
1252
    }
1253
1254
    if (!$sql || $sql === '') {
1255
      $this->_debug->displayError('Can not execute an empty query.', false);
1256
1257
      return false;
1258
    }
1259
1260
    $query_start_time = microtime(true);
1261
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1410-1414 (lines=5) @@
1407
      return false;
1408
    }
1409
1410
    if (!$sql || $sql === '') {
1411
      $this->_debug->displayError('Can not execute an empty query.', false);
1412
1413
      return false;
1414
    }
1415
1416
    if (
1417
        $params !== false