Skip to content

Commit

Permalink
removed obsolete test
Browse files Browse the repository at this point in the history
  • Loading branch information
belgattitude committed Jun 29, 2018
1 parent 26cdcad commit 18887ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Soluble/DbWrapper/Adapter/MysqliAdapter.php
Expand Up @@ -51,8 +51,6 @@ public function query($query, $resultsetType = Resultset::TYPE_ARRAY)

if ($r === false) {
throw new Exception\InvalidArgumentException("Query cannot be executed [$query].");
} elseif ($r !== true && !$r instanceof \mysqli_result) {
throw new Exception\InvalidArgumentException("Query didn't return any result [$query].");
} elseif ($r instanceof \mysqli_result) {
while ($row = $r->fetch_assoc()) {
$results->append($row);
Expand Down

0 comments on commit 18887ca

Please sign in to comment.