summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSoufiane Ghzal <[email protected]>2014-06-08 11:05:00 +0200
committerSoufiane Ghzal <[email protected]>2014-06-08 11:05:00 +0200
commit9a2dfbf87d702db721910f46614a9b35ac79fe10 (patch)
treed0f2bc357ac3ebf0934bfa865ac1d008acb6cdee /test
parentca8cacde0609c05078de54a288f5bc76887f8834 (diff)
update bindParams to bindParam
Diffstat (limited to 'test')
-rw-r--r--test/bootstrap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bootstrap.php b/test/bootstrap.php
index 8790dc7..3b3cace 100644
--- a/test/bootstrap.php
+++ b/test/bootstrap.php
@@ -46,7 +46,7 @@ class MockPDOStatement extends PDOStatement {
/**
* Add data to arrays
*/
- public function bindParams($index, $value, $type)
+ public function bindParam($index, $value, $type)
{
// Do check on index, and type
if (!is_int($index)) throw new Exception('Incorrect parameter type. Expected $index to be an integer.');