Completed
Push — master ( 28f264...c80ec8 )
by Daniel
06:10
created
Salariu/Salariu.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -107,13 +107,13 @@  discard block
 block discarded – undo
107 107
         if ($this->tCmnSuperGlobals->get('ym') < mktime(0, 0, 0, 1, 1, 2008)) {
108 108
             $unemploymentBase = $this->tCmnSuperGlobals->get('sn');
109 109
         }
110
-        $aReturn           = [
110
+        $aReturn = [
111 111
             'ba'       => $this->setFoodTicketsValue($inDate, $aStngs[$shLbl['MTV']]) * $nMealDays,
112 112
             'cas'      => $this->setHealthFundTax($inDate, $lngBase, $aStngs[$shLbl['HFP']], $aStngs[$shLbl['HFUL']]),
113 113
             'sanatate' => $this->setHealthTax($inDate, $lngBase, $aStngs[$shLbl['HTP']]),
114 114
             'somaj'    => $this->setUnemploymentTax($inDate, $unemploymentBase),
115 115
         ];
116
-        $pdVal             = [
116
+        $pdVal = [
117 117
             $inDate,
118 118
             ($lngBase + $aReturn['ba']),
119 119
             $this->tCmnSuperGlobals->get('pi'),
@@ -126,15 +126,15 @@  discard block
 block discarded – undo
126 126
             $aReturn['somaj'],
127 127
             $aReturn['pd'],
128 128
         ];
129
-        $rest              = $lngBase - array_sum($restArrayToDeduct);
129
+        $rest = $lngBase - array_sum($restArrayToDeduct);
130 130
         if ($inDate >= mktime(0, 0, 0, 7, 1, 2010)) {
131 131
             $rest += round($aReturn['ba'], -4);
132 132
             if ($inDate >= mktime(0, 0, 0, 10, 1, 2010)) {
133 133
                 $aReturn['gbns'] = $this->tCmnSuperGlobals->get('gbns') * pow(10, 4);
134
-                $rest            += round($aReturn['gbns'], -4);
134
+                $rest += round($aReturn['gbns'], -4);
135 135
             }
136 136
         }
137
-        $rest               += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
137
+        $rest += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
138 138
         $aReturn['impozit'] = $this->setIncomeTax($inDate, $rest, $aStngs[$shLbl['IT']]);
139 139
         $aReturn['zile']    = $wkDay;
140 140
         return $aReturn;
@@ -301,7 +301,7 @@  discard block
 block discarded – undo
301 301
         $sReturn[] = $this->setFormRow(sprintf($ovTime['main'], $ovTime[1], '175%'), ($overtime['os175'] * pow(10, 4)));
302 302
         $sReturn[] = $this->setFormRow(sprintf($ovTime['main'], $ovTime[2], '200%'), ($overtime['os200'] * pow(10, 4)));
303 303
         $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_BruttoSalary'), $brut);
304
-        $brut      += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
304
+        $brut += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
305 305
         $amount    = $this->getValues($brut, $aryStngs);
306 306
         $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_PensionFund'), $amount['cas']);
307 307
         $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_UnemploymentTax'), $amount['somaj']);
@@ -374,7 +374,7 @@  discard block
 block discarded – undo
374 374
             'class' => 'labelS',
375 375
             'style' => 'color:#000;',
376 376
         ];
377
-        $fieldsStyled     = $this->buildArrayOfFieldsStyled();
377
+        $fieldsStyled = $this->buildArrayOfFieldsStyled();
378 378
         if (array_key_exists($text, $fieldsStyled)) {
379 379
             $defaultCellStyle['style'] = $this->buildStyleForCellFormat($fieldsStyled[$text]);
380 380
         }
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
         $sReturn   = '';
405 405
         if (is_array($labelInfo)) {
406 406
             if (count($labelInfo) == 3) {
407
-                $pieces  = [
407
+                $pieces = [
408 408
                     $this->tApp->gettext($labelInfo[0]),
409 409
                     $this->tApp->gettext($labelInfo[1]),
410 410
                 ];
Please login to merge, or discard this patch.