TYPO3 Flow Base DistributionPackagesApplications

Task #50647

refactor addTask method argument order

Added by Tobias Liebig about 2 years ago.

Status:New Start date:2013-08-01
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:-
Target version:-

Description

To streamline the API, the order of the method arguments in ->addTask should be changed.
First argument should be the stage.

Maybe we still can make it backwards compatible by checking, if the first argument is a valid stage name in the given workflow. If not the first and second argument should be swapped (and a deprecation warning should be logged)

Also available in: Atom PDF