Project

General

Profile

Actions

Task #45105

closed

Task #51399: Remove brackets from return statement

Cleanup Saltedpassword Task

Added by Michael Staatz almost 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
-
Target version:
-
Start date:
2013-02-03
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

In the execute method of the bulkupdate task there is a typo with the return statement.

actual:

return(TRUE);

Should be

return TRUE;

Because there is no CGL for using parentheses.
Also look at:
http://www.php.net/manual/en/function.return.php

"Note: Note that since return is a language construct and not a function, the parentheses surrounding its arguments are not required. It is common to leave them out, and you actually should do so as PHP has less work to do in this case."

Actions

Also available in: Atom PDF