Passed
Branchdevelop (be7e3f)
by Robin
11:00 queued 14s
created
programs/record.ctrl.php 1 patch
Braces   +4 added lines, -8 removed lines patch added patch discarded remove patch
@@ -201,8 +201,7 @@  discard block
 block discarded – undo
201 201
                         'label' => $method['label']
202 202
                     );
203 203
                 }
204
-            }
205
-            catch(Exception $e){
204
+            } catch(Exception $e){
206 205
                 unset($types[$index]);
207 206
                 continue;
208 207
             }
@@ -929,8 +928,7 @@  discard block
 block discarded – undo
929 928
             session_start();
930 929
             $_SESSION['modelViewMoreCriterias'][$key] = $fields;
931 930
             session_write_close();
932
-        }
933
-        else{
931
+        } else{
934 932
             $fields = $_SESSION['modelViewMoreCriterias'][$key];
935 933
         }
936 934
         
@@ -2184,8 +2182,7 @@  discard block
 block discarded – undo
2184 2182
             $Ui = $component->ui();
2185 2183
             $viewClassname = 'FullFrame';
2186 2184
             $isComponent = true;
2187
-        }
2188
-        else{
2185
+        } else{
2189 2186
             $Ui = $App->Ui();
2190 2187
             $recordClassname = $this->getRecordClassName();
2191 2188
             $viewClassname =  $recordClassname . 'FullFrame';
@@ -2207,8 +2204,7 @@  discard block
 block discarded – undo
2207 2204
                         $view = $record->getBlueprint();
2208 2205
                     }
2209 2206
                     $fullFrame->setView($view);
2210
-                }
2211
-                else{
2207
+                } else{
2212 2208
                     $fullFrame = $Ui->$viewClassname($record->id, $view);
2213 2209
                 }
2214 2210
                 
Please login to merge, or discard this patch.
programs/customsection.ctrl.php 1 patch
Braces   +3 added lines, -6 removed lines patch added patch discarded remove patch
@@ -928,8 +928,7 @@  discard block
 block discarded – undo
928 928
                 }
929 929
                 break;
930 930
             }
931
-        }
932
-        else{
931
+        } else{
933 932
         
934 933
             $field = $objectRecordSet->$field;
935 934
     
@@ -1422,12 +1421,10 @@  discard block
 block discarded – undo
1422 1421
                     foreach ($sections[$currentSection->id.'.fieldsGroups'][$fieldName] as $subKey => $subValue){
1423 1422
                         $rawSectionData[$currentSectionId][$fieldName]['fields'][$subKey] = $field['fields'][$subKey];
1424 1423
                     }
1425
-                }
1426
-                elseif($fieldName != 'fieldsGroups'){
1424
+                } elseif($fieldName != 'fieldsGroups'){
1427 1425
                     $rawSectionData[$currentSectionId][$fieldName] = $field;
1428 1426
                 }
1429
-            }
1430
-            else{
1427
+            } else{
1431 1428
                 $field = null;
1432 1429
                 $tmpSection = $customSectionSet->get($customSectionSet->id->is($fieldSectionId));
1433 1430
                 if($tmpSection){
Please login to merge, or discard this patch.