Project

General

Profile

Actions

Task #45105

closed

Task #51399: Remove brackets from return statement

Cleanup Saltedpassword Task

Added by Michael Staatz about 11 years ago. Updated over 5 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 #1

Updated by Nicole Cordes over 10 years ago

  • Parent task set to #51399
Actions #2

Updated by Nicole Cordes over 10 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Wouter Wolters over 10 years ago

  • Status changed from Accepted to Resolved

Is resolved in the meantime.

Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF