Browse Source

ZF-9770: redundant classname within Exception Message

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22126 44c647ce-9c0f-0410-b52a-842ac1e357ba
alab 15 năm trước cách đây
mục cha
commit
cb4141354d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      library/Zend/Form.php

+ 1 - 1
library/Zend/Form.php

@@ -2136,7 +2136,7 @@ class Zend_Form implements Iterator, Countable, Zend_Validate_Interface
     {
         if (!is_array($data)) {
             require_once 'Zend/Form/Exception.php';
-            throw new Zend_Form_Exception(__CLASS__ . '::' . __METHOD__ . ' expects an array');
+            throw new Zend_Form_Exception(__METHOD__ . ' expects an array');
         }
         $translator = $this->getTranslator();
         $valid      = true;