Task #45105

Task #51399: Remove brackets from return statement

Cleanup Saltedpassword Task

Added by Michael Staatz over 8 years ago. Updated almost 3 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."

#1

Updated by Nicole Cordes almost 8 years ago

  • Parent task set to #51399
#2

Updated by Nicole Cordes almost 8 years ago

  • Status changed from New to Accepted
#3

Updated by Wouter Wolters almost 8 years ago

  • Status changed from Accepted to Resolved

Is resolved in the meantime.

#4

Updated by Benni Mack almost 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF