diff options
-rw-r--r-- | src/Bridge.php | 2 | ||||
-rw-r--r-- | test/BridgeTest.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Bridge.php b/src/Bridge.php index 9ec0626..54f9880 100644 --- a/src/Bridge.php +++ b/src/Bridge.php @@ -66,7 +66,7 @@ class Bridge { $result = $this->db->query($sql); - $rows = $result->fetchAll(PDO::FETCH_COLUMN, 0); + $rows = $result->fetchAll(PDO::FETCH_COLUMN); $result->closeCursor(); return $rows; } diff --git a/test/BridgeTest.php b/test/BridgeTest.php index ec42543..d79ebd0 100644 --- a/test/BridgeTest.php +++ b/test/BridgeTest.php @@ -175,7 +175,7 @@ class BridgeTest extends PHPUnit_Framework_TestCase { public function providerGetLists() { return array( array(null, null, 'Exception'), - array(1, false, null), + array(1, array(), null), array(2, array('messages@forums.vassalengine.org'), null) ); } |