Completed
Push — master ( 014de4...0cfb27 )
by Daniel
03:41
created
Salariu/Bonuses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
                 2003 => 1800000,
104 104
                 2004 => 2000000,
105 105
             ];
106
-            $nReturn      = $valuesYearly[$yrDate];
106
+            $nReturn = $valuesYearly[$yrDate];
107 107
         } elseif ($yr == 2001) {
108 108
             $nReturn = $this->setPersonalDeductionSimple2001($lngDate);
109 109
         }
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
@@ -120,7 +120,7 @@
 block discarded – undo
120 120
         $howMany = count($nValues);
121 121
         for ($counter = 0; $counter <= $howMany; $counter++) {
122 122
             if (($lngTaxBase <= $nValues[$counter]['Upper Limit Value'])) {
123
-                $sLbl    = [
123
+                $sLbl = [
124 124
                     'BDP' => $nValues[$counter]['Base Deducted Percentage'],
125 125
                     'BDV' => $nValues[$counter]['Base Deduction Value'],
126 126
                     'TFV' => $nValues[$counter]['Tax Free Value'],
Please login to merge, or discard this patch.
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/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.
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.