summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMitch <[email protected]>2014-06-07 15:10:41 +1000
committerMitch <[email protected]>2014-06-07 15:10:41 +1000
commita8c71384c2c767a4241f1ed3f14965218bb7bc2d (patch)
treed51bb2d800ae40d024858ea715b0fab563883e8b /test
parent27fb7f29a849270b329533b8f7944beb163b1c06 (diff)
MockPDOStatement::execute() Strict Standards
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 9a40762..32f0288 100644
--- a/test/bootstrap.php
+++ b/test/bootstrap.php
@@ -21,7 +21,7 @@ class MockPDOStatement extends PDOStatement {
/**
* Check that the array
*/
- public function execute($params) {
+ public function execute($params = null) {
$count = 0;
$m = array();
if (preg_match_all('/"[^"\\\\]*(?:\\?)[^"\\\\]*"|\'[^\'\\\\]*(?:\\?)[^\'\\\\]*\'|(\\?)/', $this->statement, $m, PREG_SET_ORDER)) {