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.
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.
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.