[BUGFIX] Make forms impexp hook php 7.0 compatible 83/57583/2
authorRalf Zimmermann <ralf.zimmermann@tritum.de>
Fri, 13 Jul 2018 05:50:45 +0000 (07:50 +0200)
committerMarkus Klein <markus.klein@typo3.org>
Fri, 13 Jul 2018 07:47:19 +0000 (09:47 +0200)
Resolves: #85545
Releases: 8.7
Change-Id: I63d5aeab191252982841cfd34c955cc8e075aac8
Reviewed-on: https://review.typo3.org/57583
Reviewed-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Andreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Frank Naegler <frank.naegler@typo3.org>
Reviewed-by: Mathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/form/Classes/Hooks/ImportExportHook.php

index ccebe43..b380057 100644 (file)
@@ -26,7 +26,7 @@ class ImportExportHook
     /**
      * @param array $params
      */
-    public function beforeAddSysFileRecordOnImport(array $params): void
+    public function beforeAddSysFileRecordOnImport(array $params)
     {
         $fileRecord = $params['fileRecord'];
         $temporaryFile = $params['temporaryFile'];