Completed
Push — master ( b25057...00f035 )
by Ievgen
02:25
created
src/Railway.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -6,10 +6,10 @@
 block discarded – undo
6 6
 use function einfach\operation\response\isValidResponse;
7 7
 use const einfach\operation\response\RESPONSE_TYPE_ERROR;
8 8
 use const einfach\operation\response\RESPONSE_TYPE_OK;
9
-use einfach\operation\step\Step;
10
-use einfach\operation\step\Failure;
11 9
 use einfach\operation\step\AbstractStep;
12 10
 use einfach\operation\step\Always;
11
+use einfach\operation\step\Failure;
12
+use einfach\operation\step\Step;
13 13
 use einfach\operation\step\TryCatch;
14 14
 
15 15
 class Railway
Please login to merge, or discard this patch.
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
         $this->stepsQueue = [];
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $stepName
38
+     */
36 39
     protected function findTargetStepIndex($stepName)
37 40
     {
38 41
         $steps = array_column($this->stepsQueue, 'step');
@@ -161,6 +164,7 @@  discard block
 block discarded – undo
161 164
 
162 165
     /**
163 166
      * @throws \Exception
167
+     * @param AbstractStep $step
164 168
      */
165 169
     protected function performStep($step, &$params, $opt, $track)
166 170
     {
Please login to merge, or discard this patch.