Code Duplication    Length = 9-9 lines in 2 locations

src/Surfnet/Stepup/Identity/Identity.php 2 locations

@@ 1047-1055 (lines=9) @@
1044
     *
1045
     * @param AppointedAsRaaEvent $event
1046
     */
1047
    protected function applyIdentityAccreditedAsRaEvent(IdentityAccreditedAsRaEvent $event)
1048
    {
1049
        $this->registrationAuthorities->set($event->identityInstitution, RegistrationAuthority::accreditWith(
1050
            $event->registrationAuthorityRole,
1051
            $event->location,
1052
            $event->contactInformation,
1053
            $event->identityInstitution
1054
        ));
1055
    }
1056
1057
    /**
1058
     * This method is kept to be backwards compatible for changes before FGA
@@ 1062-1070 (lines=9) @@
1059
     *
1060
     * @param IdentityAccreditedAsRaaEvent $event
1061
     */
1062
    protected function applyIdentityAccreditedAsRaaEvent(IdentityAccreditedAsRaaEvent $event)
1063
    {
1064
        $this->registrationAuthorities->set($event->identityInstitution, RegistrationAuthority::accreditWith(
1065
            $event->registrationAuthorityRole,
1066
            $event->location,
1067
            $event->contactInformation,
1068
            $event->identityInstitution
1069
        ));
1070
    }
1071
1072
    /**
1073
     * This method is kept to be backwards compatible for changes before FGA