Project

General

Profile

Actions

Bug #54017

closed

Superfluous check in GeneralUtility::inList

Added by Michiel Roos over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
Start date:
2013-11-27
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

GeneralUtility::inList does a comparison to a boolean. This results in a boolean value. Then based on this value it will return TRUE or FALSE. Instead it is enough to return the result of the comparison.

Actions

Also available in: Atom PDF