Skip to content

Commit

Permalink
Merge pull request #25 from villfa/master
Browse files Browse the repository at this point in the history
Remove unreachable code
  • Loading branch information
muglug authored Aug 31, 2021
2 parents bf91226 + 0709e27 commit 5724968
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/FakePdoStatementTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ public function fetch(

/**
* @param int $column
* @return mixed
* @return null|scalar
*/
public function fetchColumn($column = 0)
{
Expand Down
1 change: 0 additions & 1 deletion src/Parser/SQLParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ private static function parseImpl(string $sql)
default:
throw new ParserException("Unexpected {$token->value}");
}
throw new ParserException("Parse error: unexpected end of input");
}

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Processor/Expression/UnaryEvaluator.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,5 @@ public static function evaluate(
default:
throw new ProcessorException("Unimplemented unary operand {$expr->name}");
}

return $val;
}
}

0 comments on commit 5724968

Please sign in to comment.