Browse Source

ZF-9358 - Fixed class "Zend_CodeGenerator_Php_Parameter_DefaultValue" typo

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21889 44c647ce-9c0f-0410-b52a-842ac1e357ba
juokaz 15 năm trước cách đây
mục cha
commit
5f7cfd8adb

+ 1 - 1
library/Zend/CodeGenerator/Php/Parameter.php

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