Leuchtfeuer / typo3-secure-downloads

Secure your assets and data from unwanted download. Apply TYPO3 access rights to ALL file assets (PDFs, TGZs or JPGs etc. - configurable) - protect them from direct access.
https://www.Leuchtfeuer.com
GNU General Public License v2.0
21 stars 34 forks source link

Syntax error, unexpected '|', expecting ';' or '{' #212

Closed r3h6 closed 1 month ago

r3h6 commented 1 month ago

Describe the bug Syntax error, unexpected '|', expecting ';' or '{' in /var/www/html/web/typo3conf/ext/secure_downloads/Classes/Resource/FileDelivery.php line 258

To Reproduce Install v5.0.5 with PHP 7.4, open backend or frontend.

Expected behavior No syntax error in PHP 7.4

Environment (please complete the following information):

Additional context v5.0.4 still works on PHP 7.4