Code Duplication    Length = 3-4 lines in 2 locations

Salariu/Salariu.php 2 locations

@@ 343-346 (lines=4) @@
340
    {
341
        $sRn              = [];
342
        $limitDisplayBase = false;
343
        if ($brut > $this->txLvl['casP_base']) {
344
            $limitDisplayBase = true;
345
            $sRn[]            = $this->setFrmRowTwoLbls($this->setLabel('cas_base'), '', $this->txLvl['casP_base']);
346
        }
347
        $sRn[] = $this->setFrmRowTwoLbls($this->setLabel('cas'), $this->txLvl['casP'] . '%', $this->txLvl['cas']);
348
        $sRn[] = $this->setFrmRowTwoLbls($this->setLabel('somaj'), $this->txLvl['smjP'] . '%', $this->txLvl['smj']);
349
        if ($limitDisplayBase && array_key_exists('sntP_base', $this->txLvl)) {
@@ 349-351 (lines=3) @@
346
        }
347
        $sRn[] = $this->setFrmRowTwoLbls($this->setLabel('cas'), $this->txLvl['casP'] . '%', $this->txLvl['cas']);
348
        $sRn[] = $this->setFrmRowTwoLbls($this->setLabel('somaj'), $this->txLvl['smjP'] . '%', $this->txLvl['smj']);
349
        if ($limitDisplayBase && array_key_exists('sntP_base', $this->txLvl)) {
350
            $sRn[] = $this->setFrmRowTwoLbls($this->setLabel('sntP_base'), ' ', $this->txLvl['sntP_base']);
351
        }
352
        $sRn[] = $this->setFrmRowTwoLbls($this->setLabel('sanatate'), $this->txLvl['sntP'] . '%', $this->txLvl['snt']);
353
        $rst   = $brut - ($this->txLvl['cas'] + $this->txLvl['snt'] + $this->txLvl['smj']);
354
        $sRn[] = $this->setFrmRowTwoLbls($this->setLabel('rst'), ' ', $rst);