Code Duplication    Length = 16-17 lines in 2 locations

src/Form/Admin/Game.php 2 locations

@@ 711-727 (lines=17) @@
708
     *
709
     * @return array
710
     */
711
    public function getPartners()
712
    {
713
        $partners = array(
714
            '0' => 'Ce jeu n\'est pas sponsorisé'
715
        );
716
        $results = $this->getEventManager()
717
            ->trigger(__FUNCTION__, $this, array(
718
            'partners' => $partners
719
            ))
720
            ->last();
721
722
        if ($results) {
723
            $partners = $results;
724
        }
725
726
        return $partners;
727
    }
728
729
    /**
730
     * An event is triggered so that the module PlaygroundFacebook if installed,
@@ 736-751 (lines=16) @@
733
     *
734
     * @return array
735
     */
736
    public function getFbAppIds()
737
    {
738
        $apps = array('' => 'Don\'t deploy on Facebook');
739
740
        $results = $this->getEventManager()
741
            ->trigger(__FUNCTION__, $this, array(
742
            'apps' => $apps
743
            ))
744
            ->last();
745
746
        if ($results) {
747
            $apps = $results;
748
        }
749
750
        return $apps;
751
    }
752
753
    /**
754
     *