[BUGFIX] Protect a forgotten AbstractFormEngineAjaxController method 00/56100/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 11 Mar 2018 19:41:27 +0000 (20:41 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 11 Mar 2018 20:28:10 +0000 (21:28 +0100)
With refactoring in #79159 one method has accidently been set
public while it is obvious it should be protected. Fix that. Patch
is not considered to be breaking since the method is an internal
method of that abstract class.

Resolves: #84201
Related: #79159
Releases: master, 8.7
Change-Id: I0c04ff2d3fe9d68420c80af8831df361eb6f8a13
Reviewed-on: https://review.typo3.org/56100
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Tested-by: Mona Muzaffar <mona.muzaffar@gmx.de>
Reviewed-by: Björn Jacob <bjoern.jacob@tritum.de>
Tested-by: Björn Jacob <bjoern.jacob@tritum.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/backend/Classes/Controller/AbstractFormEngineAjaxController.php

index b40411b..ca960bb 100644 (file)
@@ -36,7 +36,7 @@ abstract class AbstractFormEngineAjaxController
      * @param array $result
      * @return array
      */
-    public function createExecutableStringRepresentationOfRegisteredRequireJsModules(array $result): array
+    protected function createExecutableStringRepresentationOfRegisteredRequireJsModules(array $result): array
     {
         if (empty($result['requireJsModules'])) {
             return [];