Completed
Push — master ( b25057...00f035 )
by Ievgen
02:25
created
src/step/AbstractStep.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
         $stepResult = $result;
70 70
         
71 71
         if (is_a($result, Result::class)) {
72
-             $stepResult = [
72
+                $stepResult = [
73 73
                     'params' => $result->params(),
74 74
                     'type' => ($result->isSuccess()) ? RESPONSE_TYPE_OK : RESPONSE_TYPE_ERROR
75 75
                 ];
Please login to merge, or discard this patch.
src/Railway.php 2 patches
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.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -153,12 +153,12 @@
 block discarded – undo
153 153
             $opt = $item['opt'];
154 154
             /**
155 155
              * @var $step AbstractStep
156
-            */
156
+             */
157 157
             $track = $this->performStep($step, $params, $opt, $track);
158 158
 
159 159
             $failFast = $opt['failFast'] ?? null;
160 160
             if($failFast && $track == self::TRACK_FAILURE) {
161
-                 break;
161
+                    break;
162 162
             }
163 163
         }
164 164
         return new Result($params, $track, $this->signaturesPipeline);
Please login to merge, or discard this patch.