[TASK] Apply CGL fixes 06/53906/2
authorOliver Hader <oliver@typo3.org>
Tue, 5 Sep 2017 09:54:28 +0000 (11:54 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 5 Sep 2017 10:44:06 +0000 (12:44 +0200)
Releases: master, 8.7, 7.6
Change-Id: I167c68d7d04dd4b8c876b1f6f8f939cf3d933478
Reviewed-on: https://review.typo3.org/53906
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Classes/Resource/Service/UserFileMountService.php

index 686eec1..61ad894 100644 (file)
@@ -41,7 +41,7 @@ class UserFileMountService
     public function renderTceformsSelectDropdown(&$PA)
     {
         $allowedStorageIds = array_map(
-            function(\TYPO3\CMS\Core\Resource\ResourceStorage $storage) {
+            function (\TYPO3\CMS\Core\Resource\ResourceStorage $storage) {
                 return $storage->getUid();
             },
             $this->getBackendUserAuthentication()->getFileStorages()