[BUGFIX] Use DriverInterface instead AbstractDriver for method signature 25/53725/2
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:13:26 +0000 (09:13 +0200)
commited11f88aaa3e4a6072ede066187f24ab10d46f0e
tree523159163d549607d84b207215ba8a5fd70534ec
parent79d1315c591af815f6df06533017576efd7cde61
[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/53725
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