Code Duplication    Length = 9-9 lines in 2 locations

src/OroCRM/Bundle/SalesBundle/Entity/B2bCustomer.php 1 location

@@ 314-322 (lines=9) @@
311
     */
312
    protected $emails;
313
314
    public function __construct()
315
    {
316
        parent::__construct();
317
318
        $this->leads         = new ArrayCollection();
319
        $this->opportunities = new ArrayCollection();
320
        $this->phones        = new ArrayCollection();
321
        $this->emails        = new ArrayCollection();
322
    }
323
324
    /**
325
     * @return int

src/OroCRM/Bundle/SalesBundle/Entity/Lead.php 1 location

@@ 523-531 (lines=9) @@
520
    /**
521
     * Constructor
522
     */
523
    public function __construct()
524
    {
525
        parent::__construct();
526
527
        $this->opportunities = new ArrayCollection();
528
        $this->phones   = new ArrayCollection();
529
        $this->emails   = new ArrayCollection();
530
        $this->addresses = new ArrayCollection();
531
    }
532
533
    /**
534
     * Get id