we can type hint arrays, hurray
--- library/trunk/lib/test/error.class.php 2006-08-09 14:26:37 UTC (rev 2)
+++ library/trunk/lib/test/error.class.php 2006-08-09 18:55:04 UTC (rev 3)
@@ -35,7 +35,7 @@
* @param array $trace backtrace for exception
* @return void
*/
- public function __construct($message, $code, $file, $line, $trace)
+ public function __construct($message, $code, $file, $line, array $trace)
{
parent::__construct($message, $code);
$this->file = $file;