Project

General

Profile

Actions

Task #38604

closed

Code Cleanup: Always return a boolean in t3lib_div::validPathStr

Added by Andy Grunwald almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Code Cleanup
Target version:
Start date:
2012-07-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
no-brainer
Sprint Focus:

Description

In t3lib_div::validPathStr() a boolean (TRUE) is returned, if this is a valid path string.
If it is NOT a valid path string, then nothing will be returned.
In the doc comment, there is a return type "boolean" mentioned.

Just return a boolean, if it is not a valid path string.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #38613: Fix UnitTests for t3lib_div::validPathStrClosedAndy Grunwald2012-07-03

Actions
Actions

Also available in: Atom PDF