Project

General

Profile

Actions

Task #105662

open

Use conditional return types in PathUtility::pathinfo()

Added by Elias Häußler about 11 hours ago. Updated about 11 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 #1

Updated by Elias Häußler about 11 hours ago

  • Assignee set to Elias Häußler
Actions #2

Updated by Gerrit Code Review about 11 hours ago

  • Status changed from New to Under Review

Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/87132

Actions

Also available in: Atom PDF