[~TASK] Extbase (Utility): Changed Tx_Extbase_Utility_TypoScript:convertPlainArrayToT...
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Utility / TypoScript.php
index e319e6f..0224b56 100644 (file)
@@ -42,7 +42,7 @@ class Tx_Extbase_Utility_TypoScript {
         * @return void
         * @api
         */
-       public static function convertTypoScriptArrayToPlainArray(array $settings) {
+       static public function convertTypoScriptArrayToPlainArray(array $settings) {
                foreach ($settings as $key => &$value) {
                        if(substr($key, -1) === '.') {
                                $keyWithoutDot = substr($key, 0, -1);
@@ -74,7 +74,7 @@ class Tx_Extbase_Utility_TypoScript {
         * @return array array with Typoscript as usual (with dot)
         * @api
         */
-       public static function convertPlainArrayToTypoScriptArray($plainArray) {
+       static public function convertPlainArrayToTypoScriptArray($plainArray) {
                $typoScriptArray = array();
                if (is_array($plainArray)) {
                        foreach ($plainArray as $key => $value) {
@@ -83,7 +83,7 @@ class Tx_Extbase_Utility_TypoScript {
                                                $typoScriptArray[$key] = $value['_typoScriptNodeValue'];
                                                unset($value['_typoScriptNodeValue']);
                                        }
-                                       $typoScriptArray[$key.'.'] = Tx_Extbase_Utility_TypoScript::convertPlainArrayToTypoScriptArray($value);
+                                       $typoScriptArray[$key.'.'] = self::convertPlainArrayToTypoScriptArray($value);
                                } else {
                                        $typoScriptArray[$key] = $value;
                                }