@@ -8,10 +8,10 @@ |
||
8 | 8 | use function einfach\operation\response\isValidResponse; |
9 | 9 | use const einfach\operation\response\RESPONSE_TYPE_ERROR; |
10 | 10 | use const einfach\operation\response\RESPONSE_TYPE_OK; |
11 | -use einfach\operation\step\Step; |
|
12 | -use einfach\operation\step\Failure; |
|
13 | 11 | use einfach\operation\step\AbstractStep; |
14 | 12 | use einfach\operation\step\Always; |
13 | +use einfach\operation\step\Failure; |
|
14 | +use einfach\operation\step\Step; |
|
15 | 15 | use einfach\operation\step\TryCatch; |
16 | 16 | use einfach\operation\step\Wrap; |
17 | 17 |
@@ -72,6 +72,9 @@ discard block |
||
72 | 72 | return $this->rawStep(new Wrap($callable, $signature), $opt); |
73 | 73 | } |
74 | 74 | |
75 | + /** |
|
76 | + * @param string $stepName |
|
77 | + */ |
|
75 | 78 | public function nextStepSignature(callable $callable, $stepName, $opt) |
76 | 79 | { |
77 | 80 | is_callable($callable, false, $functionName); |
@@ -103,6 +106,7 @@ discard block |
||
103 | 106 | /** |
104 | 107 | * @param $params |
105 | 108 | * @param $step |
109 | + * @param string $track |
|
106 | 110 | * @return string |
107 | 111 | * @throws \Exception |
108 | 112 | */ |