Actions
Task #45105
closedTask #51399: Remove brackets from return statement
Cleanup Saltedpassword Task
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."
Updated by Nicole Cordes almost 11 years ago
- Status changed from New to Accepted
Updated by Wouter Wolters almost 11 years ago
- Status changed from Accepted to Resolved
Is resolved in the meantime.
Actions