|
|
@@ -237,7 +237,7 @@ class Zend_CodeGenerator_Php_Parameter extends Zend_CodeGenerator_Php_Abstract
|
|
|
$output .= ' = ';
|
|
|
if (is_string($this->_defaultValue)) {
|
|
|
$output .= '\'' . $this->_defaultValue . '\'';
|
|
|
- } else if($this->_defaultValue instanceof Zend_CodeGenerator_Php_ParameterDefaultValue) {
|
|
|
+ } else if($this->_defaultValue instanceof Zend_CodeGenerator_Php_Parameter_DefaultValue) {
|
|
|
$output .= (string)$this->_defaultValue;
|
|
|
} else {
|
|
|
$output .= $this->_defaultValue;
|