Code Duplication    Length = 5-5 lines in 3 locations

src/mrcnpdlk/MojePanstwo/Model/KrsEntity.php 3 locations

@@ 543-547 (lines=5) @@
540
                    $this->firmy[] = new Companies($i);
541
                }
542
            }
543
            if (isset($oLayers->nadzor)) {
544
                foreach ((array)$oLayers->nadzor as $i) {
545
                    $this->nadzor[] = new Person($i);
546
                }
547
            }
548
            if (isset($oLayers->prokurenci)) {
549
                foreach ((array)$oLayers->prokurenci as $i) {
550
                    $this->prokurenci[] = new Person($i);
@@ 548-552 (lines=5) @@
545
                    $this->nadzor[] = new Person($i);
546
                }
547
            }
548
            if (isset($oLayers->prokurenci)) {
549
                foreach ((array)$oLayers->prokurenci as $i) {
550
                    $this->prokurenci[] = new Person($i);
551
                }
552
            }
553
            if (isset($oLayers->reprezentacja)) {
554
                foreach ((array)$oLayers->reprezentacja as $i) {
555
                    $this->reprezentacja[] = new Person($i);
@@ 553-557 (lines=5) @@
550
                    $this->prokurenci[] = new Person($i);
551
                }
552
            }
553
            if (isset($oLayers->reprezentacja)) {
554
                foreach ((array)$oLayers->reprezentacja as $i) {
555
                    $this->reprezentacja[] = new Person($i);
556
                }
557
            }
558
            if (isset($oLayers->wspolnicy)) {
559
                foreach ((array)$oLayers->wspolnicy as $i) {
560
                    $this->wspolnicy[] = new Partner($i);