Fixing constructor of CakeCliReporter to match CakeBaseReporter.

This commit is contained in:
Mark Story 2010-01-10 15:55:49 -05:00
parent 980a85cec4
commit 9989327b5b

View file

@ -55,11 +55,8 @@ class CakeCliReporter extends CakeBaseReporter {
* @param array $params
* @return void
*/
function CakeCLIReporter($separator = NULL, $params = array()) {
$this->CakeBaseReporter('utf-8', $params);
if (!is_null($separator)) {
$this->setFailDetailSeparator($separator);
}
function CakeCLIReporter($charset = 'utf-8', $params = array()) {
$this->CakeBaseReporter($charset, $params);
}
function setFailDetailSeparator($separator) {