From c0de212c57b9c7b5266e7e1009af267b00b53387 Mon Sep 17 00:00:00 2001 From: Stefan Andres Charsley Date: Sun, 12 Jan 2014 21:39:57 +1300 Subject: FIX: Added parameter array checking Added some more debug code. --- test/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bootstrap.php b/test/bootstrap.php index 90d38c4..324a511 100644 --- a/test/bootstrap.php +++ b/test/bootstrap.php @@ -31,7 +31,7 @@ class MockPDOStatement extends PDOStatement { ob_start(); var_dump($m, $params); $output = ob_get_clean(); - throw new Exception('Incorrect parameter count. Expected ' . $count . ' got ' . count($params) . '.\n' . $output); + throw new Exception('Incorrect parameter count. Expected ' . $count . ' got ' . count($params) . ".\n" . $this->statement . "\n" . $output); } } } -- cgit v1.2.3