Skip to content

Commit

Permalink
Merge pull request #141 from hason/master
Browse files Browse the repository at this point in the history
Fixed conditional expression
  • Loading branch information
beberlei committed May 27, 2012
2 parents 5041f5f + 75d5fab commit 092cc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Doctrine/DBAL/Driver/PDOStatement.php
Expand Up @@ -37,7 +37,7 @@ public function setFetchMode($fetchStyle, $arg2 = null, $arg3 = null)
// of PDOStatement::setFetchMode(): even if the second and third
// parameters are optional, PHP will not let us remove it from this
// declaration.
if ($arg2 === null || $arg3 === null) {
if ($arg2 === null && $arg3 === null) {
return parent::setFetchMode($fetchStyle);
}

Expand Down

0 comments on commit 092cc8a

Please sign in to comment.