Completed
Push — master ( ebb9d4...e2de41 )
by Daniel
01:31
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   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
         $sReturn   = '';
113 113
         if (is_array($labelInfo)) {
114 114
             if (count($labelInfo) == 3) {
115
-                $pieces  = [
115
+                $pieces = [
116 116
                     $this->tApp->gettext($labelInfo[0]),
117 117
                     $this->tApp->gettext($labelInfo[1]),
118 118
                 ];
Please login to merge, or discard this patch.
Salariu/FormattingSalariu.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
             'class' => 'labelS',
91 91
             'style' => 'color:#000;',
92 92
         ];
93
-        $fieldsStyled     = $this->buildArrayOfFieldsStyled();
93
+        $fieldsStyled = $this->buildArrayOfFieldsStyled();
94 94
         if (array_key_exists($text, $fieldsStyled)) {
95 95
             $defaultCellStyle['style'] = $this->buildStyleForCellFormat($fieldsStyled[$text]);
96 96
         }
Please login to merge, or discard this patch.
Salariu/Salariu.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -288,7 +288,7 @@  discard block
 block discarded – undo
288 288
         $sReturn[]             = '<th><i class="fa fa-map-signs floatRight" style="font-size:2em;">&nbsp;</i></th>';
289 289
         $this->appFlags['CTD'] = $this->manageCurrencyToDisplay($this->tCmnSuperGlobals);
290 290
         foreach ($this->appFlags['CTD'] as $key => $value) {
291
-            $crtPcs    = [
291
+            $crtPcs = [
292 292
                 $this->tApp->gettext('i18n_Form_Label_XofficialCurrencyUsedFrom'),
293 293
                 $this->tApp->gettext('i18n_Form_Label_CurrencyName_' . $key),
294 294
                 $this->tApp->gettext('i18n_CountryName_' . strtoupper($value['country'])),
@@ -341,7 +341,7 @@  discard block
 block discarded – undo
341 341
 
342 342
     private function setFormRowAmount($value, $defaultCellStyle)
343 343
     {
344
-        $cellValue                 = [];
344
+        $cellValue = [];
345 345
         $defaultCellStyle['style'] .= 'text-align:right;';
346 346
         foreach ($this->appFlags['CTD'] as $key2 => $value2) {
347 347
             $fmt         = new \NumberFormatter($value2['locale'], \NumberFormatter::CURRENCY);
Please login to merge, or discard this patch.
Doc Comments   +21 added lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@  discard block
 block discarded – undo
67 67
         ];
68 68
     }
69 69
 
70
+    /**
71
+     * @param double $lngBase
72
+     */
70 73
     private function getValues($lngBase, $aStngs, $shLabels, $dtR)
71 74
     {
72 75
         $inDate             = $this->tCmnSuperGlobals->request->get('ym');
@@ -207,12 +210,20 @@  discard block
 block discarded – undo
207 210
         return implode($sReturn, '');
208 211
     }
209 212
 
213
+    /**
214
+     * @param string $frm
215
+     */
210 216
     private function setFormInputIntoFieldSet($frm)
211 217
     {
212 218
         return '<div class="tabbertab" id="Input" title="' . $this->tApp->gettext('i18n_FieldsetLabel_Inputs') . '">'
213 219
             . $frm . '</div>';
214 220
     }
215 221
 
222
+    /**
223
+     * @param string $inName
224
+     * @param integer $inSize
225
+     * @param string $inAfterLabel
226
+     */
216 227
     private function setFormInputText($inName, $inSize, $inAfterLabel, $crtMinWage = 0)
217 228
     {
218 229
         $inputParameters = [
@@ -293,6 +304,9 @@  discard block
 block discarded – undo
293 304
             . $this->setStringIntoTag(implode('', $sReturn), 'table') . '</tbody>' . '</div>';
294 305
     }
295 306
 
307
+    /**
308
+     * @param double $amntLAA
309
+     */
296 310
     private function setFormOutputBonuses($snValue, $wkDays, $amntLAA, $ovTimeVal)
297 311
     {
298 312
         $sRt      = [];
@@ -336,6 +350,9 @@  discard block
 block discarded – undo
336 350
         return implode('', $sReturn) . '</tr></thead></tbody>';
337 351
     }
338 352
 
353
+    /**
354
+     * @param double $brut
355
+     */
339 356
     private function setFormOutputTaxations($brut, $amnt)
340 357
     {
341 358
         $sRn              = [];
@@ -390,6 +407,10 @@  discard block
 block discarded – undo
390 407
         return implode('', $cellValue);
391 408
     }
392 409
 
410
+    /**
411
+     * @param string $text1
412
+     * @param string $text2
413
+     */
393 414
     private function setFrmRowTwoLbls($text1, $text2, $value)
394 415
     {
395 416
         return str_replace(':</td>', ':</td><td class="labelS" style="text-align:right;">'
Please login to merge, or discard this patch.
Salariu/Bonuses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
                 2003 => 1800000,
75 75
                 2004 => 2000000,
76 76
             ];
77
-            $nReturn      = $valuesYearly[$yrDate];
77
+            $nReturn = $valuesYearly[$yrDate];
78 78
         }
79 79
         return (($lngDate >= 20060701) ? round($nReturn, -4) : $nReturn);
80 80
     }
Please login to merge, or discard this patch.
Salariu/InputValidation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
                 'min_range' => $dtR['minimum']->format('Ymd'),
52 52
             ]
53 53
         ];
54
-        $validYM  = filter_var($tCSG->get('ym'), FILTER_VALIDATE_INT, $validOpt);
54
+        $validYM = filter_var($tCSG->get('ym'), FILTER_VALIDATE_INT, $validOpt);
55 55
         if (!array_key_exists($validYM, $ymValues)) {
56 56
             $validYM = $validOpt['options']['default'];
57 57
         }
Please login to merge, or discard this patch.
Salariu/Taxation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -163,7 +163,7 @@
 block discarded – undo
163 163
             for ($counter = 0; $counter <= $howMany; $counter++) {
164 164
                 $nReturn = $lngTaxBase * $this->txLvl['inTaxP'];
165 165
                 if (($lngTaxBase <= $nValues[$counter]['Upper Limit Value'])) {
166
-                    $sLbl                  = [
166
+                    $sLbl = [
167 167
                         'BDP' => $nValues[$counter]['Base Deducted Percentage'],
168 168
                         'BDV' => $nValues[$counter]['Base Deduction Value'],
169 169
                         'TFV' => $nValues[$counter]['Tax Free Value'],
Please login to merge, or discard this patch.