Completed
Push — develop ( 9e3d33...36b339 )
by
unknown
08:18
created
module/Orders/src/Form/InvoiceAddressSettingsFieldset.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@
 block discarded – undo
121 121
                 'attributes' => [
122 122
                     'data-placeholder' => /*@translate*/ 'please select',
123 123
                     'data-allowclear' => 'false',
124
-                    'data-searchbox' => -1,  // hide the search box
124
+                    'data-searchbox' => -1, // hide the search box
125 125
                     'required' => true, // mark label as required
126 126
                 ],
127 127
             )
Please login to merge, or discard this patch.
module/Settings/src/Settings/Form/SettingsFieldset.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -75,10 +75,10 @@  discard block
 block discarded – undo
75 75
 
76 76
             $inputLabel = isset($this->labelMap[$inputName]) ? $this->labelMap[$inputName] : $inputName;
77 77
 
78
-            if (is_array($inputLabel)){
79
-                $priority = isset($inputLabel[1])?$inputLabel[1]:0;
78
+            if (is_array($inputLabel)) {
79
+                $priority = isset($inputLabel[1]) ? $inputLabel[1] : 0;
80 80
                 $inputLabel = $inputLabel[0];
81
-            }else{
81
+            } else {
82 82
                 $priority = 0;
83 83
             }
84 84
 
@@ -90,12 +90,12 @@  discard block
 block discarded – undo
90 90
                     ),
91 91
             );
92 92
             if (is_bool($value)) {
93
-                $input['type']= 'Checkbox';
93
+                $input['type'] = 'Checkbox';
94 94
                 $input['attributes']['checked'] = $value;
95 95
             } else {
96 96
                 $input['attributes']['value'] = $value;
97 97
             }
98
-            $this->add($input,['priority'=>$priority]);
98
+            $this->add($input, ['priority'=>$priority]);
99 99
             
100 100
         }
101 101
         
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
              */
78 78
             if (isset($this->value['params']['by']) && 'me' == $this->value['params']['by']) {
79 79
                 $queryBuilder->field('user')->equals($this->user->id);
80
-            }else{
80
+            } else{
81 81
                 $queryBuilder->field('permissions.view')->equals($this->user->id);
82 82
             }
83 83
             if (
Please login to merge, or discard this patch.