Completed
Push — master ( 2dbfbb...b82522 )
by Daniel
04:36
created
Salariu/BasicSalariu.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -173,6 +173,9 @@
 block discarded – undo
173 173
             . '<h1>' . $this->tApp->gettext('i18n_ApplicationName') . '</h1>';
174 174
     }
175 175
 
176
+    /**
177
+     * @param string $labelId
178
+     */
176 179
     private function setLabel($labelId)
177 180
     {
178 181
         $labelInfo = $this->appFlags['FI'][$labelId]['Label'];
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
             'class' => 'labelS',
150 150
             'style' => 'color:#000;',
151 151
         ];
152
-        $fieldsStyled     = $this->buildArrayOfFieldsStyled();
152
+        $fieldsStyled = $this->buildArrayOfFieldsStyled();
153 153
         if (array_key_exists($text, $fieldsStyled)) {
154 154
             $defaultCellStyle['style'] = $this->buildStyleForCellFormat($fieldsStyled[$text]);
155 155
         }
@@ -179,7 +179,7 @@  discard block
 block discarded – undo
179 179
         $sReturn   = '';
180 180
         if (is_array($labelInfo)) {
181 181
             if (count($labelInfo) == 3) {
182
-                $pieces  = [
182
+                $pieces = [
183 183
                     $this->tApp->gettext($labelInfo[0]),
184 184
                     $this->tApp->gettext($labelInfo[1]),
185 185
                 ];
Please login to merge, or discard this patch.
Salariu/Salariu.php 2 patches
Doc Comments   +20 added lines patch added patch discarded remove patch
@@ -56,6 +56,9 @@  discard block
 block discarded – undo
56 56
         echo $this->setFooterHtml($interfaceElements['Application']);
57 57
     }
58 58
 
59
+    /**
60
+     * @param double $lngBase
61
+     */
59 62
     private function getIncomeTaxValue($inDate, $lngBase, $vBA, $aryDeductions, $arySettings)
60 63
     {
61 64
         $rest = $lngBase - array_sum($aryDeductions);
@@ -82,6 +85,9 @@  discard block
 block discarded – undo
82 85
         ];
83 86
     }
84 87
 
88
+    /**
89
+     * @param double $lngBase
90
+     */
85 91
     private function getValues($lngBase, $aStngs, $shLabels)
86 92
     {
87 93
         $inDate             = $this->tCmnSuperGlobals->get('ym');
@@ -103,6 +109,9 @@  discard block
 block discarded – undo
103 109
         return $aReturn;
104 110
     }
105 111
 
112
+    /**
113
+     * @param integer $wkDay
114
+     */
106 115
     private function getValuesPrimary($inDate, $wkDay, $lngBase, $aStngs, $shLbl)
107 116
     {
108 117
         $nMealDays        = ($wkDay - $this->tCmnSuperGlobals->get('zfb'));
@@ -159,6 +168,11 @@  discard block
 block discarded – undo
159 168
         return $sReturn;
160 169
     }
161 170
 
171
+    /**
172
+     * @param string $inName
173
+     * @param integer $inSize
174
+     * @param string $inAfterLabel
175
+     */
162 176
     private function setFormInputText($inName, $inSize, $inAfterLabel)
163 177
     {
164 178
         $inputParameters = [
@@ -171,6 +185,9 @@  discard block
 block discarded – undo
171 185
         return $this->setStringIntoShortTag('input', $inputParameters) . ' ' . $inAfterLabel;
172 186
     }
173 187
 
188
+    /**
189
+     * @param string $configPath
190
+     */
174 191
     private function setFormOutput($configPath, $shLabels)
175 192
     {
176 193
         $aryStngs    = $this->readTypeFromJsonFileUniversal($configPath, 'valuesToCompute');
@@ -232,6 +249,9 @@  discard block
 block discarded – undo
232 249
         ]);
233 250
     }
234 251
 
252
+    /**
253
+     * @param string $text
254
+     */
235 255
     private function setFormRow($text, $value, $type = 'amount')
236 256
     {
237 257
         $defaultCellStyle = $this->setFormatRow($text, $value);
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
         $sReturn[]   = $this->setFormRow(sprintf($ovTime['m'], $ovTime[1], '175%'), ($ovTimeVal['os175'] * pow(10, 4)));
197 197
         $sReturn[]   = $this->setFormRow(sprintf($ovTime['m'], $ovTime[2], '200%'), ($ovTimeVal['os200'] * pow(10, 4)));
198 198
         $sReturn[]   = $this->setFormRow($this->setLabel('sb'), $brut);
199
-        $brut        += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
199
+        $brut += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
200 200
         $amount      = $this->getValues($brut, $aryStngs, $shLabels);
201 201
         $sReturn[]   = $this->setFormRow($this->setLabel('cas'), $amount['cas']);
202 202
         $sReturn[]   = $this->setFormRow($this->setLabel('somaj'), $amount['somaj']);
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
 
254 254
     private function setFormRowAmount($value, $defaultCellStyle)
255 255
     {
256
-        $cellValue                 = [];
256
+        $cellValue = [];
257 257
         $defaultCellStyle['style'] .= 'text-align:right;';
258 258
         foreach ($this->currencyDetails['CX'] as $key2 => $value2) {
259 259
             $fmt         = new \NumberFormatter($value2['locale'], \NumberFormatter::CURRENCY);
Please login to merge, or discard this patch.