Passed
Push — master ( ef239b...4de437 )
by Arthur
03:40
created
src/Blocks/FormRequest.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -168,8 +168,7 @@
 block discarded – undo
168 168
         // attrs validation
169 169
         $this->startArray();
170 170
         if (empty($relationTypes) === false) {
171
-            $rel = empty($relationTypes[ApiInterface::RAML_TYPE]) ? $relationTypes :
172
-                $relationTypes[ApiInterface::RAML_TYPE];
171
+            $rel = empty($relationTypes[ApiInterface::RAML_TYPE]) ? $relationTypes : $relationTypes[ApiInterface::RAML_TYPE];
173 172
 
174 173
             $rels = explode(PhpInterface::PIPE, str_replace('[]', '', $rel));
175 174
             foreach ($rels as $k => $rel) {
Please login to merge, or discard this patch.