Completed
Push — master ( 5c62ad...5dd1b0 )
by Daniel
04:43
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/Taxation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
         $howMany = count($nValues);
119 119
         for ($counter = 0; $counter <= $howMany; $counter++) {
120 120
             if (($lngTaxBase <= $nValues[$counter]['Upper Limit Value'])) {
121
-                $sLbl                  = [
121
+                $sLbl = [
122 122
                     'BDP' => $nValues[$counter]['Base Deducted Percentage'],
123 123
                     'BDV' => $nValues[$counter]['Base Deduction Value'],
124 124
                     'TFV' => $nValues[$counter]['Tax Free Value'],
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
@@ -65,6 +65,9 @@  discard block
 block discarded – undo
65 65
         ];
66 66
     }
67 67
 
68
+    /**
69
+     * @param double $lngBase
70
+     */
68 71
     private function getValues($lngBase, $aStngs, $shLabels)
69 72
     {
70 73
         $inDate             = $this->tCmnSuperGlobals->request->get('ym');
@@ -185,12 +188,20 @@  discard block
 block discarded – undo
185 188
         return implode($sReturn, '');
186 189
     }
187 190
 
191
+    /**
192
+     * @param string $frm
193
+     */
188 194
     private function setFormInputIntoFieldSet($frm)
189 195
     {
190 196
         return '<div class="tabbertab" id="Input" title="' . $this->tApp->gettext('i18n_FieldsetLabel_Inputs') . '">'
191 197
             . $frm . '</div>';
192 198
     }
193 199
 
200
+    /**
201
+     * @param string $inName
202
+     * @param integer $inSize
203
+     * @param string $inAfterLabel
204
+     */
194 205
     private function setFormInputText($inName, $inSize, $inAfterLabel, $crtMinWage = 0)
195 206
     {
196 207
         $inputParameters = [
@@ -257,6 +268,9 @@  discard block
 block discarded – undo
257 268
             . $this->setStringIntoTag(implode('', $sReturn), 'table') . '</tbody>' . '</div>';
258 269
     }
259 270
 
271
+    /**
272
+     * @param double $amntLAA
273
+     */
260 274
     private function setFormOutputBonuses($snValue, $wkDays, $amntLAA, $ovTimeVal)
261 275
     {
262 276
         $sRt      = [];
@@ -300,6 +314,9 @@  discard block
 block discarded – undo
300 314
         return implode('', $sReturn) . '</tr></thead></tbody>';
301 315
     }
302 316
 
317
+    /**
318
+     * @param double $brut
319
+     */
303 320
     private function setFormOutputTaxations($brut, $amnt)
304 321
     {
305 322
         $sRn              = [];
@@ -352,6 +369,10 @@  discard block
 block discarded – undo
352 369
         return implode('', $cellValue);
353 370
     }
354 371
 
372
+    /**
373
+     * @param string $text1
374
+     * @param string $text2
375
+     */
355 376
     private function setFrmRowTwoLbls($text1, $text2, $value)
356 377
     {
357 378
         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.