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

@@ 1191-1195 (lines=5) @@
1188
      return false;
1189
    }
1190
1191
    if (!$sql || $sql === '') {
1192
      $this->_debug->displayError('Can not execute an empty query.', false);
1193
1194
      return false;
1195
    }
1196
1197
    $query_start_time = microtime(true);
1198
    $resultTmp = \mysqli_multi_query($this->link, $sql);
@@ 1347-1351 (lines=5) @@
1344
      return false;
1345
    }
1346
1347
    if (!$sql || $sql === '') {
1348
      $this->_debug->displayError('Can not execute an empty query.', false);
1349
1350
      return false;
1351
    }
1352
1353
    if (
1354
        $params !== false