From 996fd033c56990302775f4b61c8bf8f2c6f30750 Mon Sep 17 00:00:00 2001 From: Claus Due <claus@namelesscoder.net> Date: Sat, 18 Jun 2016 15:25:32 +0200 Subject: [PATCH] [TASK] Remove redundant toArray method on Fluid TemplatePaths Inherited method is 100% identical in behavior - overridden method can be safely removed. Change-Id: I86cafa119c7d9c4a1ebbbbc578230386073ea1c9 Resolves: #76691 Releases: master Reviewed-on: https://review.typo3.org/48601 Reviewed-by: Georg Ringer <georg.ringer@gmail.com> Tested-by: Georg Ringer <georg.ringer@gmail.com> Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl> Tested-by: Wouter Wolters <typo3@wouterwolters.nl> --- typo3/sysext/fluid/Classes/View/TemplatePaths.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/typo3/sysext/fluid/Classes/View/TemplatePaths.php b/typo3/sysext/fluid/Classes/View/TemplatePaths.php index ec7d68d9aa5d..7138934d4c3e 100644 --- a/typo3/sysext/fluid/Classes/View/TemplatePaths.php +++ b/typo3/sysext/fluid/Classes/View/TemplatePaths.php @@ -100,18 +100,6 @@ class TemplatePaths extends \TYPO3Fluid\Fluid\View\TemplatePaths return $paths; } - /** - * @return array - */ - public function toArray() - { - return array( - self::CONFIG_TEMPLATEROOTPATHS => $this->sanitizePath($this->getTemplateRootPaths()), - self::CONFIG_LAYOUTROOTPATHS => $this->sanitizePath($this->getLayoutRootPaths()), - self::CONFIG_PARTIALROOTPATHS => $this->sanitizePath($this->getPartialRootPaths()) - ); - } - /** * @param string|array $path * @return string -- GitLab