Kaynağa Gözat

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 yıl önce
ebeveyn
işleme
5f7cfd8adb
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      library/Zend/CodeGenerator/Php/Parameter.php

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

@@ -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;