[BUGFIX] Fix getPublicUrl return hints 43/56643/6
authorKevin Ditscheid <kevinditscheid@gmail.com>
Wed, 11 Apr 2018 20:41:49 +0000 (22:41 +0200)
committerJigal van Hemert <jigal.van.hemert@typo3.org>
Sun, 15 Apr 2018 20:50:10 +0000 (22:50 +0200)
commita850e4ac1f4b3636118296d75c92b614dfa25494
treed3625b45a997968231dce347be9330606db95bbd
parent0bb874be5cfa6e1f6e621ebe64e91f280eb30b6e
[BUGFIX] Fix getPublicUrl return hints

Since getPublicUrl could also return null, we need to
change the return hints to respect that.

Resolves: #84688
Releases: master, 8.7
Change-Id: Ib811b6bbeebf9dec974b094c6acf505ca4ac26e1
Reviewed-on: https://review.typo3.org/56643
Reviewed-by: Frans Saris <franssaris@gmail.com>
Tested-by: Frans Saris <franssaris@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
typo3/sysext/core/Classes/Resource/Driver/DriverInterface.php
typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php
typo3/sysext/core/Classes/Resource/File.php
typo3/sysext/core/Classes/Resource/FileInterface.php
typo3/sysext/core/Classes/Resource/FileReference.php
typo3/sysext/core/Classes/Resource/Folder.php
typo3/sysext/core/Classes/Resource/InaccessibleFolder.php
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/filelist/Classes/FileFacade.php
typo3/sysext/frontend/Classes/Typolink/FileOrFolderLinkBuilder.php