Sfoglia il codice sorgente

[CS] Zend_Config

- reverted TABS to 4 spaces

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23295 44c647ce-9c0f-0410-b52a-842ac1e357ba
ramon 15 anni fa
parent
commit
c2a5a4c2dd
1 ha cambiato i file con 20 aggiunte e 20 eliminazioni
  1. 20 20
      library/Zend/Config/Writer/Yaml.php

+ 20 - 20
library/Zend/Config/Writer/Yaml.php

@@ -47,29 +47,29 @@ class Zend_Config_Writer_Yaml extends Zend_Config_Writer_FileAbstract
     /**
      * Get callback for decoding YAML
      *
-	 * @return callable
-	 */
-	public function getYamlEncoder()
-	{
-		return $this->_yamlEncoder;
-	}
+     * @return callable
+     */
+    public function getYamlEncoder()
+    {
+        return $this->_yamlEncoder;
+    }
 
-	/**
-	 * Set callback for decoding YAML
-	 *
-	 * @param  $yamlEncoder the decoder to set
-	 * @return Zend_Config_Yaml
-	 */
-	public function setYamlEncoder($yamlEncoder)
-	{
-	    if (!is_callable($yamlEncoder)) {
+    /**
+     * Set callback for decoding YAML
+     *
+     * @param  $yamlEncoder the decoder to set
+     * @return Zend_Config_Yaml
+     */
+    public function setYamlEncoder($yamlEncoder)
+    {
+        if (!is_callable($yamlEncoder)) {
             require_once 'Zend/Config/Exception.php';
             throw new Zend_Config_Exception('Invalid parameter to setYamlEncoder - must be callable');
-	    }
+        }
 
-		$this->_yamlEncoder = $yamlEncoder;
-		return $this;
-	}
+        $this->_yamlEncoder = $yamlEncoder;
+        return $this;
+    }
 
     /**
      * Render a Zend_Config into a YAML config string.
@@ -77,7 +77,7 @@ class Zend_Config_Writer_Yaml extends Zend_Config_Writer_FileAbstract
      * @since 1.10
      * @return string
      */
-	public function render()
+    public function render()
     {
         $data        = $this->_config->toArray();
         $sectionName = $this->_config->getSectionName();