Project

General

Profile

Actions

Task #105662

open

Use conditional return types in PathUtility::pathinfo()

Added by Elias Häußler about 14 hours ago. Updated about 13 hours ago.

Status:
Under Review
Priority:
Should have
Category:
-
Target version:
-
Start date:
2024-11-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
14
PHP Version:
Tags:
Complexity:
trivial
Sprint Focus:

Description

Return values of PathUtility::pathinfo() are deterministic and can be easily used for conditional return type hint, see https://www.php.net/manual/en/function.pathinfo.php#example-2284.

Actions

Also available in: Atom PDF