Completed
Push — master ( da2a08...b6c749 )
by Daniel
02:43
created
Salariu/Salariu.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -107,15 +107,15 @@  discard block
 block discarded – undo
107 107
             $aReturn['somaj'],
108 108
             $aReturn['pd'],
109 109
         ];
110
-        $rest              = $lngBase - array_sum($restArrayToDeduct);
110
+        $rest = $lngBase - array_sum($restArrayToDeduct);
111 111
         if ($inDate >= mktime(0, 0, 0, 7, 1, 2010)) {
112 112
             $rest += round($aReturn['ba'], -4);
113 113
             if ($inDate >= mktime(0, 0, 0, 10, 1, 2010)) {
114 114
                 $aReturn['gbns'] = $this->tCmnSuperGlobals->get('gbns') * pow(10, 4);
115
-                $rest            += round($aReturn['gbns'], -4);
115
+                $rest += round($aReturn['gbns'], -4);
116 116
             }
117 117
         }
118
-        $rest               += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
118
+        $rest += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
119 119
         $aReturn['impozit'] = $this->setIncomeTax($inDate, $rest, $aStngs['Income Tax']);
120 120
         return $aReturn;
121 121
     }
@@ -309,7 +309,7 @@  discard block
 block discarded – undo
309 309
         $sReturn[]   = $this->setFormRow(sprintf($ovTime['m'], $ovTime[1], '175%'), ($ovTimeVal['os175'] * pow(10, 4)));
310 310
         $sReturn[]   = $this->setFormRow(sprintf($ovTime['m'], $ovTime[2], '200%'), ($ovTimeVal['os200'] * pow(10, 4)));
311 311
         $sReturn[]   = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_BruttoSalary'), $brut);
312
-        $brut        += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
312
+        $brut += $this->tCmnSuperGlobals->get('afet') * pow(10, 4);
313 313
         $amount      = $this->getValues($brut, $aryStngs);
314 314
         $sReturn[]   = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_PensionFund'), $amount['cas']);
315 315
         $sReturn[]   = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_UnemploymentTax'), $amount['somaj']);
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
 
369 369
     private function setFormRowAmount($value, $defaultCellStyle)
370 370
     {
371
-        $cellValue                 = [];
371
+        $cellValue = [];
372 372
         $defaultCellStyle['style'] .= 'text-align:right;';
373 373
         foreach ($this->currencyDetails['CX'] as $key2 => $value2) {
374 374
             $fmt         = new \NumberFormatter($value2['locale'], \NumberFormatter::CURRENCY);
@@ -385,7 +385,7 @@  discard block
 block discarded – undo
385 385
             'class' => 'labelS',
386 386
             'style' => 'color:#000;',
387 387
         ];
388
-        $fieldsStyled     = $this->buildArrayOfFieldsStyled();
388
+        $fieldsStyled = $this->buildArrayOfFieldsStyled();
389 389
         if (array_key_exists($text, $fieldsStyled)) {
390 390
             $defaultCellStyle['style'] = $this->buildStyleForCellFormat($fieldsStyled[$text]);
391 391
         }
@@ -415,7 +415,7 @@  discard block
 block discarded – undo
415 415
         $sReturn   = '';
416 416
         if (is_array($labelInfo)) {
417 417
             if (count($labelInfo) == 3) {
418
-                $pieces  = [
418
+                $pieces = [
419 419
                     $this->tApp->gettext($labelInfo[0]),
420 420
                     $this->tApp->gettext($labelInfo[1]),
421 421
                 ];
Please login to merge, or discard this patch.