diff options
author | Mitch <[email protected]> | 2014-06-07 15:10:41 +1000 |
---|---|---|
committer | Mitch <[email protected]> | 2014-06-07 15:10:41 +1000 |
commit | a8c71384c2c767a4241f1ed3f14965218bb7bc2d (patch) | |
tree | d51bb2d800ae40d024858ea715b0fab563883e8b /test/bootstrap.php | |
parent | 27fb7f29a849270b329533b8f7944beb163b1c06 (diff) |
MockPDOStatement::execute() Strict Standards
Diffstat (limited to 'test/bootstrap.php')
-rw-r--r-- | test/bootstrap.php | 2 |
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)) { |