[BUGFIX] Use DriverInterface instead AbstractDriver for method signature 84/53684/6
authorFranz Koch <typo3@elements-net.de>
Sat, 12 Aug 2017 08:14:28 +0000 (10:14 +0200)
committerSusanne Moog <susanne.moog@typo3.org>
Fri, 18 Aug 2017 07:54:57 +0000 (09:54 +0200)
commit38eb30d6dc9ea2972035aaea3529f3740c790aef
treec41bca879eb8fa87aac87d8774d09cdab1b84c3e
parent0137bc561d187ff09b69c2031f71f6dcf14e5f48
[BUGFIX] Use DriverInterface instead AbstractDriver for method signature

FAL drivers are not obligated to extend the AbstractDriver but only
to implement the DriverInterface. Having custom drivers that are not
based on AbstractDriver (because they are f.e. non hierarchical)
currently causes an Exception because PreviewProcessing expects an
instance of AbstractDriver as method argument.

This patch changes te signature from AbstractDriver to DriverInterface.

Resolves: #82114
Releases: master, 8.7, 7.6
Change-Id: Ia27c6c1c7510ecfe5afd0f7d8bedf81bf3d31c84
Reviewed-on: https://review.typo3.org/53684
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php